C# Class IBM.Data.DB2.DB2DataReader

Summary description for DB2ClientDataReader. DB2ClientDataReader.
Inheritance: System.MarshalByRefObject, IDataReader
Datei anzeigen Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
GetBoolean ( int col ) : System.Boolean
GetByte ( int col ) : Byte
GetBytes ( int col, long fieldOffset, byte buffer, int bufferOffset, int length ) : long
GetChar ( int col ) : Char
GetChars ( int col, long fieldOffset, char buffer, int bufferOffset, int length ) : long
GetData ( int col ) : IDataReader
GetDataTypeName ( int col ) : string
GetDate ( int col ) : System.DateTime
GetDateTime ( int col ) : System.DateTime
GetDecimal ( int col ) : Decimal
GetDouble ( int col ) : Double
GetFieldType ( int col ) : Type
GetFloat ( int col ) : float
GetGuid ( int col ) : System.Guid
GetInt16 ( int col ) : short
GetInt32 ( int col ) : int
GetInt64 ( int col ) : long
GetName ( int col ) : string
GetOrdinal ( string name ) : int
GetSchemaTable ( ) : DataTable
GetString ( int col ) : string
GetStringInternal ( int col ) : object
GetTime ( int col ) : System.TimeSpan
GetTimeSpan ( int col ) : System.TimeSpan
GetValue ( int col ) : object
GetValues ( object values ) : int
IsDBNull ( int col ) : bool
NextResult ( ) : bool
Read ( ) : bool
this ( int col ) : object
this ( string name ) : object

Private Methods

Method Description
BuildNewSchemaTable ( ) : DataTable
DB2DataReader ( IBM.Data.DB2.DB2Connection con, IBM.Data.DB2.DB2Command com, CommandBehavior behavior ) : System

Dispose ( bool disposing ) : void
FieldNameLookup ( DataTable _schemaTable, string name ) : int

FetchResults does what it says.

GetBlobDataInternal ( int col ) : object
GetBooleanInternal ( int col ) : object
GetByteInternal ( int col ) : object
GetCharInternal ( int col ) : object
GetColumnInfo ( ) : void
GetDateInternal ( int col ) : object
GetDateTimeInternal ( int col ) : object
GetDecimalInternal ( int col ) : object
GetDoubleInternal ( int col ) : object
GetFieldCountAndAffectedRows ( ) : void
GetFloatInternal ( int col ) : object
GetGuidInternal ( int col ) : object
GetInt16Internal ( int col ) : object
GetInt32Internal ( int col ) : object
GetInt64Internal ( int col ) : object
GetManagedType ( int sql_type ) : Type
GetTimeInternal ( int col ) : object
InitMem ( int memSize, IntPtr &ptr ) : void
IsLong ( short sql_type ) : bool

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetBoolean() public method

public GetBoolean ( int col ) : System.Boolean
col int
return System.Boolean

GetByte() public method

public GetByte ( int col ) : Byte
col int
return Byte

GetBytes() public method

public GetBytes ( int col, long fieldOffset, byte buffer, int bufferOffset, int length ) : long
col int
fieldOffset long
buffer byte
bufferOffset int
length int
return long

GetChar() public method

public GetChar ( int col ) : Char
col int
return Char

GetChars() public method

public GetChars ( int col, long fieldOffset, char buffer, int bufferOffset, int length ) : long
col int
fieldOffset long
buffer char
bufferOffset int
length int
return long

GetData() public method

public GetData ( int col ) : IDataReader
col int
return IDataReader

GetDataTypeName() public method

public GetDataTypeName ( int col ) : string
col int
return string

GetDate() public method

public GetDate ( int col ) : System.DateTime
col int
return System.DateTime

GetDateTime() public method

public GetDateTime ( int col ) : System.DateTime
col int
return System.DateTime

GetDecimal() public method

public GetDecimal ( int col ) : Decimal
col int
return Decimal

GetDouble() public method

public GetDouble ( int col ) : Double
col int
return Double

GetFieldType() public method

public GetFieldType ( int col ) : Type
col int
return System.Type

GetFloat() public method

public GetFloat ( int col ) : float
col int
return float

GetGuid() public method

public GetGuid ( int col ) : System.Guid
col int
return System.Guid

GetInt16() public method

public GetInt16 ( int col ) : short
col int
return short

GetInt32() public method

public GetInt32 ( int col ) : int
col int
return int

GetInt64() public method

public GetInt64 ( int col ) : long
col int
return long

GetName() public method

public GetName ( int col ) : string
col int
return string

GetOrdinal() public method

public GetOrdinal ( string name ) : int
name string
return int

GetSchemaTable() public method

public GetSchemaTable ( ) : DataTable
return System.Data.DataTable

GetString() public method

public GetString ( int col ) : string
col int
return string

GetStringInternal() public method

public GetStringInternal ( int col ) : object
col int
return object

GetTime() public method

public GetTime ( int col ) : System.TimeSpan
col int
return System.TimeSpan

GetTimeSpan() public method

public GetTimeSpan ( int col ) : System.TimeSpan
col int
return System.TimeSpan

GetValue() public method

public GetValue ( int col ) : object
col int
return object

GetValues() public method

public GetValues ( object values ) : int
values object
return int

IsDBNull() public method

public IsDBNull ( int col ) : bool
col int
return bool

NextResult() public method

public NextResult ( ) : bool
return bool

Read() public method

public Read ( ) : bool
return bool

this() public method

public this ( int col ) : object
col int
return object

this() public method

public this ( string name ) : object
name string
return object