Sha256: 47a5a7c8265687be4a9c256c6c7338e563bf422cb93220d0617e11bf456aa9fa

Contents?: true

Size: 1.91 KB

Versions: 51

Compression:

Stored size: 1.91 KB

Contents

/*------------------------------------------------------------------------
* (The MIT License)
* 
* Copyright (c) 2008-2011 Rhomobile, Inc.
* 
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* 
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
* 
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
* 
* http://rhomobile.com
*------------------------------------------------------------------------*/

using System;
using rho.common;

namespace rho.db
{
    public interface IDBResult : IDisposable
    {
    int getColCount();
	String getColName(int nCol);
	String getOrigColName(int nCol);
	
	//New
    boolean isEnd();
    void next();
	String getStringByIdx(int nCol);
	int getIntByIdx(int nCol);
	long getLongByIdx(int nCol);
	String getUInt64ByIdx(int nCol);

	Object /*RubyValue*/ getRubyValueByIdx(int nCol);
	boolean isNullByIdx(int nCol);
	
	Object /*RubyValue*/ getRubyValue(String colname);
	int getInt(String colname);
	String getString(String colname);
	
	Object[] getCurData();
	
    boolean isNonUnique();
    
    void close();
    }
}

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
rhodes-5.5.18 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-5.5.17 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-5.5.15 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-5.5.0.22 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-5.5.2 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-5.5.0.7 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-5.5.0.3 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-5.5.0 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.5.1.12 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.5 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.4.2 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.4 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.3 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.3.beta.4 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.3.beta.3 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.3.beta.2 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.3.beta.1 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.2 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.2.beta.7 platform/wp7/RhoRubyLib/db/IDBResult.cs
rhodes-3.3.2.beta.6 platform/wp7/RhoRubyLib/db/IDBResult.cs