C# Class System.Data.DataTableReader

Inheritance: System.Data.Common.DbDataReader
显示文件 Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
DataChanged void
DataTableCleared void
GetSchemaTableFromDataTable DataTable
Init void
SchemaChanged void
ValidateOpen void
ValidateReader void
ValidateRow void
ValidateState void

Public Methods

Method Description
Close ( ) : void
DataTableReader ( DataTable dataTable ) : System.Data.Common
GetBoolean ( int ordinal ) : bool
GetByte ( int ordinal ) : byte
GetBytes ( int ordinal, long dataIndex, byte buffer, int bufferIndex, int length ) : long
GetChar ( int ordinal ) : char
GetChars ( int ordinal, long dataIndex, char buffer, int bufferIndex, int length ) : long
GetDataTypeName ( int ordinal ) : string
GetDateTime ( int ordinal ) : System.DateTime
GetDecimal ( int ordinal ) : decimal
GetDouble ( int ordinal ) : double
GetEnumerator ( ) : IEnumerator
GetFieldType ( int ordinal ) : Type
GetFloat ( int ordinal ) : float
GetGuid ( int ordinal ) : System.Guid
GetInt16 ( int ordinal ) : short
GetInt32 ( int ordinal ) : int
GetInt64 ( int ordinal ) : long
GetName ( int ordinal ) : string
GetOrdinal ( string name ) : int
GetProviderSpecificFieldType ( int ordinal ) : Type
GetProviderSpecificValue ( int ordinal ) : object
GetProviderSpecificValues ( object values ) : int
GetSchemaTable ( ) : DataTable
GetString ( int ordinal ) : string
GetValue ( int ordinal ) : object
GetValues ( object values ) : int
IsDBNull ( int ordinal ) : bool
NextResult ( ) : bool
Read ( ) : bool
this ( int ordinal ) : object
this ( string name ) : object

Private Methods

Method Description
DataChanged ( DataRowChangeEventArgs args ) : void
DataTableCleared ( ) : void
GetSchemaTableFromDataTable ( DataTable table ) : DataTable
Init ( ) : void
SchemaChanged ( ) : void
ValidateOpen ( string caller ) : void
ValidateReader ( ) : void
ValidateRow ( int rowPosition ) : void
ValidateState ( string caller ) : void

Method Details

Close() public method

public Close ( ) : void
return void

DataTableReader() public method

public DataTableReader ( DataTable dataTable ) : System.Data.Common
dataTable DataTable
return System.Data.Common

GetBoolean() public method

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

GetByte() public method

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

GetBytes() public method

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

GetChar() public method

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

GetChars() public method

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

GetDataTypeName() public method

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

GetDateTime() public method

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

GetDecimal() public method

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

GetDouble() public method

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

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetFieldType() public method

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

GetFloat() public method

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

GetGuid() public method

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

GetInt16() public method

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

GetInt32() public method

public GetInt32 ( int ordinal ) : int
ordinal int
return int

GetInt64() public method

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

GetName() public method

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

GetOrdinal() public method

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

GetProviderSpecificFieldType() public method

public GetProviderSpecificFieldType ( int ordinal ) : Type
ordinal int
return System.Type

GetProviderSpecificValue() public method

public GetProviderSpecificValue ( int ordinal ) : object
ordinal int
return object

GetProviderSpecificValues() public method

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

GetSchemaTable() public method

public GetSchemaTable ( ) : DataTable
return DataTable

GetString() public method

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

GetValue() public method

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

GetValues() public method

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

IsDBNull() public method

public IsDBNull ( int ordinal ) : bool
ordinal 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 ordinal ) : object
ordinal int
return object

this() public method

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