OdbcDataReader Members
.NET Framework 3.0
Provides a way of reading a forward-only stream of data rows from a data source. This class cannot be inherited.
The following tables list the members exposed by the OdbcDataReader type.
| Name | Description | |
|---|---|---|
| Depth | Overridden. Gets a value that indicates the depth of nesting for the current row. |
| FieldCount | Overridden. Gets the number of columns in the current row. |
| HasRows | Overridden. Gets a value that indicates whether the OdbcDataReader contains one or more rows. |
| IsClosed | Overridden. Indicates whether the OdbcDataReader is closed. |
| Item | Overloaded. Overridden. Gets the value of a column in its native format. |
| RecordsAffected | Overridden. Gets the number of rows changed, inserted, or deleted by execution of the SQL statement. |
| VisibleFieldCount | Gets the number of fields in the DbDataReader that are not hidden.(inherited from DbDataReader) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Close | Overridden. Closes the OdbcDataReader object. |
| 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) |
| Dispose | Releases all resources used by the current instance of the DbDataReader class. (inherited from DbDataReader) |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetBoolean | Overridden. Gets the value of the specified column as a Boolean. |
| GetByte | Overridden. Gets the value of the specified column as a byte. |
| GetBytes | Overridden. Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the particular buffer offset. |
| GetChar | Overridden. Gets the value of the specified column as a character. |
| GetChars | Overridden. Reads a stream of characters from the specified column offset into the buffer as an array, starting at the particular buffer offset. |
| GetData | Returns a DbDataReader object for the requested column ordinal. (inherited from DbDataReader) |
| GetDataTypeName | Overridden. Gets the name of the source data type. |
| GetDate | Gets the value of the specified column as a DateTime object. |
| GetDateTime | Overridden. Gets the value of the specified column as a DateTime object. |
| GetDecimal | Overridden. Gets the value of the specified column as a Decimal object. |
| GetDouble | Overridden. Gets the value of the specified column as a double-precision floating-point number. |
| GetEnumerator | Overridden. Returns an IEnumerator that can be used to iterate through the rows in the data reader. |
| GetFieldType | Overridden. Gets the Type that is the data type of the object. |
| GetFloat | Overridden. Gets the value of the specified column as a single-precision floating-point number. |
| GetGuid | Overridden. Gets the value of the specified column as a globally unique identifier (GUID). |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetInt16 | Overridden. Gets the value of the specified column as a 16-bit signed integer. |
| GetInt32 | Overridden. Gets the value of the specified column as a 32-bit signed integer. |
| GetInt64 | Overridden. Gets the value of the specified column as a 64-bit signed integer. |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| GetName | Overridden. Gets the name of the specified column. |
| GetOrdinal | Overridden. Gets the column ordinal, given the name of the column. |
| GetProviderSpecificFieldType | Returns the provider-specific field type of the specified column. (inherited from DbDataReader) |
| GetProviderSpecificValue | Gets the value of the specified column as an instance of Object. (inherited from DbDataReader) |
| GetProviderSpecificValues | Gets all provider-specific attribute columns in the collection for the current row. (inherited from DbDataReader) |
| GetSchemaTable | Overridden. Returns a DataTable that describes the column metadata of the OdbcDataReader. |
| GetString | Overridden. Gets the value of the specified column as a String. |
| GetTime | Gets the value of the specified column as a TimeSpan object. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| GetValue | Overridden. Gets the value of the column at the specified ordinal in its native format. |
| GetValues | Overridden. Gets all the attribute columns in the current row. |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| IsDBNull | Overridden. Gets a value that indicates whether the column contains nonexistent or missing values. |
| NextResult | Overridden. Advances the OdbcDataReader to the next result when reading the results of batch SQL statements. |
| Read | Overridden. Advances the OdbcDataReader to the next record. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Overloaded. (inherited from MarshalByRefObject) |