C# Class System.Data.ProviderBase.AbstractDataReader

Inheritance: System.Data.Common.DbDataReader, ISafeDataRecord
Mostrar archivo Open project: runefs/Marvin

Protected Properties

Property Type Description
_command AbstractDbCommand

Public Methods

Method Description
Close ( ) : void
GetBoolean ( int columnIndex ) : bool
GetBooleanSafe ( int columnIndex ) : bool
GetByte ( int columnIndex ) : byte
GetByteSafe ( int columnIndex ) : byte
GetBytes ( int columnIndex ) : byte[]
GetBytes ( int columnIndex, long dataIndex, byte buffer, int bufferIndex, int length ) : long
GetChar ( int columnIndex ) : char
GetCharSafe ( int columnIndex ) : char
GetChars ( int columnIndex, long dataIndex, char buffer, int bufferIndex, int length ) : long
GetData ( int i ) : IDataReader
GetDataTypeName ( int columnIndex ) : string
GetDateTime ( int columnIndex ) : System.DateTime
GetDateTimeSafe ( int columnIndex ) : System.DateTime
GetDecimal ( int columnIndex ) : decimal
GetDecimalSafe ( int columnIndex ) : decimal
GetDouble ( int columnIndex ) : double
GetDoubleSafe ( int columnIndex ) : double
GetEnumerator ( ) : IEnumerator
GetFieldType ( int i ) : Type
GetFloat ( int columnIndex ) : float
GetFloatSafe ( int columnIndex ) : float
GetGuid ( int columnIndex ) : System.Guid
GetInt16 ( int columnIndex ) : short
GetInt16Safe ( int columnIndex ) : short
GetInt32 ( int columnIndex ) : int
GetInt32Safe ( int columnIndex ) : int
GetInt64 ( int columnIndex ) : long
GetInt64Safe ( int columnIndex ) : long
GetName ( int columnIndex ) : string
GetOrdinal ( String columnName ) : int
GetSchemaTable ( ) : DataTable
GetString ( int columnIndex ) : string
GetStringSafe ( int columnIndex ) : string
GetTimeSpan ( int columnIndex ) : System.TimeSpan
GetValue ( int columnIndex ) : object
GetValues ( Object values ) : int
IsDBNull ( int columnIndex ) : bool
NextResult ( ) : bool
Read ( ) : bool
this ( String columnName ) : Object
this ( int columnIndex ) : Object

Protected Methods

Method Description
AbstractDataReader ( AbstractDbCommand command ) : System
ConstructSchemaTable ( ) : DataTable
CreateException ( IOException e ) : SystemException
CreateException ( SQLException e ) : SystemException
CreateException ( string message, SQLException e ) : SystemException
CreateReaderCacheContainer ( int jdbcType, int columnIndex ) : IReaderCacheContainer
GetProviderType ( int jdbcType ) : int
IsNumeric ( int columnIndex ) : bool
SetSchemaType ( DataRow schemaRow, ResultSetMetaData metaData, int columnIndex ) : void

Private Methods

Method Description
CloseCurrentResultSet ( ) : bool
CloseInternal ( ) : void
CreateReaderCache ( ) : IReaderCacheContainer[]
FillReaderCache ( int columnIndex ) : void
GetDateTimeUnsafe ( int columnIndex ) : System.DateTime
GetDecimalUnsafe ( int columnIndex ) : decimal
GetDoubleUnsafe ( int columnIndex ) : double
GetFloatUnsafe ( int columnIndex ) : float
GetInt16Unsafe ( int columnIndex ) : short
GetInt32Unsafe ( int columnIndex ) : int
GetInt64Unsafe ( int columnIndex ) : long
GetStringUnsafe ( int columnIndex ) : string
InitKeyInfo ( DataRow row, DatabaseMetaData dbMetaData, String catalog, String schema, String table ) : void

Method Details

AbstractDataReader() protected method

protected AbstractDataReader ( AbstractDbCommand command ) : System
command AbstractDbCommand
return System

Close() public method

public Close ( ) : void
return void

ConstructSchemaTable() protected static method

protected static ConstructSchemaTable ( ) : DataTable
return System.Data.DataTable

CreateException() protected abstract method

protected abstract CreateException ( IOException e ) : SystemException
e java.io.IOException
return System.SystemException

CreateException() protected method

protected CreateException ( SQLException e ) : SystemException
e java.sql.SQLException
return System.SystemException

CreateException() protected abstract method

protected abstract CreateException ( string message, SQLException e ) : SystemException
message string
e java.sql.SQLException
return System.SystemException

CreateReaderCacheContainer() protected method

protected CreateReaderCacheContainer ( int jdbcType, int columnIndex ) : IReaderCacheContainer
jdbcType int
columnIndex int
return IReaderCacheContainer

GetBoolean() public method

public GetBoolean ( int columnIndex ) : bool
columnIndex int
return bool

GetBooleanSafe() public method

public GetBooleanSafe ( int columnIndex ) : bool
columnIndex int
return bool

GetByte() public method

public GetByte ( int columnIndex ) : byte
columnIndex int
return byte

GetByteSafe() public method

public GetByteSafe ( int columnIndex ) : byte
columnIndex int
return byte

GetBytes() public method

public GetBytes ( int columnIndex ) : byte[]
columnIndex int
return byte[]

GetBytes() public method

public GetBytes ( int columnIndex, long dataIndex, byte buffer, int bufferIndex, int length ) : long
columnIndex int
dataIndex long
buffer byte
bufferIndex int
length int
return long

GetChar() public method

public GetChar ( int columnIndex ) : char
columnIndex int
return char

GetCharSafe() public method

public GetCharSafe ( int columnIndex ) : char
columnIndex int
return char

GetChars() public method

public GetChars ( int columnIndex, long dataIndex, char buffer, int bufferIndex, int length ) : long
columnIndex int
dataIndex long
buffer char
bufferIndex int
length int
return long

GetData() public method

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

GetDataTypeName() public method

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

GetDateTime() public method

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

GetDateTimeSafe() public method

public GetDateTimeSafe ( int columnIndex ) : System.DateTime
columnIndex int
return System.DateTime

GetDecimal() public method

public GetDecimal ( int columnIndex ) : decimal
columnIndex int
return decimal

GetDecimalSafe() public method

public GetDecimalSafe ( int columnIndex ) : decimal
columnIndex int
return decimal

GetDouble() public method

public GetDouble ( int columnIndex ) : double
columnIndex int
return double

GetDoubleSafe() public method

public GetDoubleSafe ( int columnIndex ) : double
columnIndex int
return double

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetFieldType() public method

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

GetFloat() public method

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

GetFloatSafe() public method

public GetFloatSafe ( int columnIndex ) : float
columnIndex int
return float

GetGuid() public method

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

GetInt16() public method

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

GetInt16Safe() public method

public GetInt16Safe ( int columnIndex ) : short
columnIndex int
return short

GetInt32() public method

public GetInt32 ( int columnIndex ) : int
columnIndex int
return int

GetInt32Safe() public method

public GetInt32Safe ( int columnIndex ) : int
columnIndex int
return int

GetInt64() public method

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

GetInt64Safe() public method

public GetInt64Safe ( int columnIndex ) : long
columnIndex int
return long

GetName() public method

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

GetOrdinal() public method

public GetOrdinal ( String columnName ) : int
columnName String
return int

GetProviderType() protected abstract method

protected abstract GetProviderType ( int jdbcType ) : int
jdbcType int
return int

GetSchemaTable() public method

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

GetString() public method

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

GetStringSafe() public method

public GetStringSafe ( int columnIndex ) : string
columnIndex int
return string

GetTimeSpan() public method

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

GetValue() public method

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

GetValues() public method

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

IsDBNull() public method

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

IsNumeric() protected method

protected IsNumeric ( int columnIndex ) : bool
columnIndex int
return bool

NextResult() public method

public NextResult ( ) : bool
return bool

Read() public method

public Read ( ) : bool
return bool

SetSchemaType() protected method

protected SetSchemaType ( DataRow schemaRow, ResultSetMetaData metaData, int columnIndex ) : void
schemaRow System.Data.DataRow
metaData ResultSetMetaData
columnIndex int
return void

this() public method

public this ( String columnName ) : Object
columnName String
return Object

this() public method

public this ( int columnIndex ) : Object
columnIndex int
return Object

Property Details

_command protected_oe property

protected AbstractDbCommand _command
return AbstractDbCommand