The DataReader type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
DataReader |
Initializes a new instance of the DataReader class.
|
Methods
Name | Description | |
---|---|---|
Close | Closes the data reader.
| |
CreateReader(IDataReader) |
Creates a DataReader from the given IDataReader.
| |
CreateReader(IDataReader, IList DataColumnProperties ) |
Creates a DataReader from the given IDataReader.
| |
Dispose | Call when the caller is finished using the data reader.
| |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the
DataReader is reclaimed by garbage collection.
(Overrides Object Finalize .) | |
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.
| |
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.
|
Properties
Name | Description | |
---|---|---|
ColumnCount |
Gets the column count.
| |
IsClosed |
Gets a value indicating whether the data reader is closed.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IDisposable Dispose |
Dispose method.
|
See Also