Export (0) Print
Expand All

OdbcDataReader Members

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
Public property Depth Overridden. Gets a value that indicates the depth of nesting for the current row.
Public property FieldCount Overridden. Gets the number of columns in the current row.
Public property HasRows Overridden. Gets a value that indicates whether the OdbcDataReader contains one or more rows.
Public property IsClosed Overridden. Indicates whether the OdbcDataReader is closed.
Public property Item Overloaded. Overridden. Gets the value of a column in its native format.
Public property RecordsAffected Overridden. Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
Public property VisibleFieldCount  Gets the number of fields in the DbDataReader that are not hidden.(Inherited from DbDataReader.)
Top

(see also Protected Methods )
  Name Description
Public method Close Overridden. Closes the OdbcDataReader object.
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 the resources consumed by this DbDataReader. (Inherited from DbDataReader.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetBoolean Overridden. Gets the value of the specified column as a Boolean.
Public method GetByte Overridden. Gets the value of the specified column as a byte.
Public method GetBytes Overridden. Reads a stream of bytes from the specified column offset into the buffer as an array, starting at the particular buffer offset.
Public method GetChar Overridden. Gets the value of the specified column as a character.
Public method GetChars Overridden. Reads a stream of characters from the specified column offset into the buffer as an array, starting at the particular buffer offset.
Public method GetData  Returns a DbDataReader object for the requested column ordinal. (Inherited from DbDataReader.)
Public method GetDataTypeName Overridden. Gets the name of the source data type.
Public method GetDate Gets the value of the specified column as a DateTime object.
Public method GetDateTime Overridden. Gets the value of the specified column as a DateTime object.
Public method GetDecimal Overridden. Gets the value of the specified column as a Decimal object.
Public method GetDouble Overridden. Gets the value of the specified column as a double-precision floating-point number.
Public method GetEnumerator Overridden. Returns an IEnumerator that can be used to iterate through the rows in the data reader.
Public method GetFieldType Overridden. Gets the Type that is the data type of the object.
Public method GetFloat Overridden. Gets the value of the specified column as a single-precision floating-point number.
Public method GetGuid Overridden. Gets the value of the specified column as a globally unique identifier (GUID).
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetInt16 Overridden. Gets the value of the specified column as a 16-bit signed integer.
Public method GetInt32 Overridden. Gets the value of the specified column as a 32-bit signed integer.
Public method GetInt64 Overridden. Gets the value of the specified column as a 64-bit signed integer.
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetName Overridden. Gets the name of the specified column.
Public method GetOrdinal Overridden. Gets the column ordinal, given the name of the column.
Public method GetProviderSpecificFieldType  Returns the provider-specific field type of the specified column. (Inherited from DbDataReader.)
Public method GetProviderSpecificValue  Gets the value of the specified column as an instance of Object. (Inherited from DbDataReader.)
Public method GetProviderSpecificValues  Gets all provider-specific attribute columns in the collection for the current row. (Inherited from DbDataReader.)
Public method GetSchemaTable Overridden. Returns a DataTable that describes the column metadata of the OdbcDataReader.
Public method GetString Overridden. Gets the value of the specified column as a String.
Public method GetTime Gets the value of the specified column as a TimeSpan object.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Overridden. Gets the value of the column at the specified ordinal in its native format.
Public method GetValues Overridden. Gets all the attribute columns in the current row.
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method IsDBNull Overridden. Gets a value that indicates whether the column contains nonexistent or missing values.
Public method NextResult Overridden. Advances the OdbcDataReader to the next result when reading the results of batch SQL statements.
Public method Read Overridden. Advances the OdbcDataReader to the next record.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method 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.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft