The DataReader type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close | Closes the data reader.
| |
CreateReader(IDataReader) |
Creates a DataReader from the given IDataReader.
| |
CreateReader(IDataReader, IListDataColumnProperties) |
Creates a DataReader from the given IDataReader.
| |
Dispose | Call when the caller is finished using the data reader.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the
DataReader is reclaimed by garbage collection.
(Overrides ObjectFinalize.) | |
GetColumnProperties |
Gets the properties for the specified column.
| |
GetDataType |
Gets the data type of specified column.
| |
GetDateTime |
Gets the date and time value of the specified column.
| |
GetDecimal |
Gets the fixed-position numeric value of the specified column.
| |
GetDouble |
Gets the double-precision floating point number of the specified column.
| |
GetError |
Gets the error string of an invalid value in the specified column.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInt |
Gets the 32-bit signed integer value of the specified column.
| |
GetName |
Gets the name of the specified column.
| |
GetOrdinal |
Return the index of the named column.
| |
GetString |
Gets the string value of the specified column.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsInvalid |
Return whether value in the specified column is invalid or set to null.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Read |
Advances the DataReader to the next row.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposableDispose |
Dispose method.
|
See Also