Export (0) Print
Expand All

DataTableReader Methods

The DataTableReader type exposes the following members.

  NameDescription
Public method Close Closes the current DataTableReader. (Overrides DbDataReader.Close().)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose() Releases all resources used by the current instance of the DbDataReader class. (Inherited from DbDataReader.)
Protected method Dispose(Boolean) Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources. (Inherited from DbDataReader.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBoolean Gets the value of the specified column as a Boolean. (Overrides DbDataReader.GetBoolean(Int32).)
Public method GetByte Gets the value of the specified column as a byte. (Overrides DbDataReader.GetByte(Int32).)
Public method GetBytes Reads a stream of bytes starting at the specified column offset into the buffer as an array starting at the specified buffer offset. (Overrides DbDataReader.GetBytes(Int32, Int64, Byte[], Int32, Int32).)
Public method GetChar Gets the value of the specified column as a character. (Overrides DbDataReader.GetChar(Int32).)
Public method GetChars Returns the value of the specified column as a character array. (Overrides DbDataReader.GetChars(Int32, Int64, Char[], Int32, Int32).)
Public method GetData Returns a DbDataReader object for the requested column ordinal. (Inherited from DbDataReader.)
Public method GetDataTypeName Gets a string representing the data type of the specified column. (Overrides DbDataReader.GetDataTypeName(Int32).)
Public method GetDateTime Gets the value of the specified column as a DateTime object. (Overrides DbDataReader.GetDateTime(Int32).)
Protected method GetDbDataReader Returns a DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation. (Inherited from DbDataReader.)
Public method GetDecimal Gets the value of the specified column as a Decimal. (Overrides DbDataReader.GetDecimal(Int32).)
Public method GetDouble Gets the value of the column as a double-precision floating point number. (Overrides DbDataReader.GetDouble(Int32).)
Public method GetEnumerator Returns an enumerator that can be used to iterate through the item collection. (Overrides DbDataReader.GetEnumerator().)
Public method GetFieldType Gets the Type that is the data type of the object. (Overrides DbDataReader.GetFieldType(Int32).)
Public method GetFloat Gets the value of the specified column as a single-precision floating point number. (Overrides DbDataReader.GetFloat(Int32).)
Public method GetGuid Gets the value of the specified column as a globally-unique identifier (GUID). (Overrides DbDataReader.GetGuid(Int32).)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetInt16 Gets the value of the specified column as a 16-bit signed integer. (Overrides DbDataReader.GetInt16(Int32).)
Public method GetInt32 Gets the value of the specified column as a 32-bit signed integer. (Overrides DbDataReader.GetInt32(Int32).)
Public method GetInt64 Gets the value of the specified column as a 64-bit signed integer. (Overrides DbDataReader.GetInt64(Int32).)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetName Gets the value of the specified column as a String. (Overrides DbDataReader.GetName(Int32).)
Public method GetOrdinal Gets the column ordinal, given the name of the column. (Overrides DbDataReader.GetOrdinal(String).)
Public method GetProviderSpecificFieldType Gets the type of the specified column in provider-specific format. (Overrides DbDataReader.GetProviderSpecificFieldType(Int32).)
Public method GetProviderSpecificValue Gets the value of the specified column in provider-specific format. (Overrides DbDataReader.GetProviderSpecificValue(Int32).)
Public method GetProviderSpecificValues Fills the supplied array with provider-specific type information for all the columns in the DataTableReader. (Overrides DbDataReader.GetProviderSpecificValues(Object[]).)
Public method GetSchemaTable Returns a DataTable that describes the column metadata of the DataTableReader. (Overrides DbDataReader.GetSchemaTable().)
Public method GetString Gets the value of the specified column as a string. (Overrides DbDataReader.GetString(Int32).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Gets the value of the specified column in its native format. (Overrides DbDataReader.GetValue(Int32).)
Public method GetValues Populates an array of objects with the column values of the current row. (Overrides DbDataReader.GetValues(Object[]).)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method IsDBNull Gets a value that indicates whether the column contains non-existent or missing values. (Overrides DbDataReader.IsDBNull(Int32).)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method NextResult Advances the DataTableReader to the next result set, if any. (Overrides DbDataReader.NextResult().)
Public method Read Advances the DataTableReader to the next record. (Overrides DbDataReader.Read().)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetation Private method IDataRecord.GetData For a description of this member, see IDataRecord.GetData. (Inherited from DbDataReader.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft