MySQL Connector/Net |
MySqlDataReader Members |
MySqlDataReader Class Methods Properties See Also Send Feedback |
The MySqlDataReader type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close |
Closes the MySqlDataReader object.
(Overrides DbDataReader..::.Close()()().) | |
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 | Overloaded. | |
Equals | (Inherited from Object.) | |
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.) | |
GetBoolean | Overloaded. | |
GetByte | Overloaded. | |
GetBytes |
Reads a stream of bytes from the specified column offset into the buffer an array starting at the given buffer offset.
(Overrides DbDataReader..::.GetBytes(Int32, Int64, array<Byte>[]()[], Int32, Int32).) | |
GetChar | Overloaded. | |
GetChars |
Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.
(Overrides DbDataReader..::.GetChars(Int32, Int64, array<Char>[]()[], Int32, Int32).) | |
GetData |
Returns a DbDataReader object for the requested column ordinal.
(Inherited from DbDataReader.) | |
GetDataTypeName |
Gets the name of the source data type.
(Overrides DbDataReader..::.GetDataTypeName(Int32).) | |
GetDateTime | Overloaded. | |
GetDbDataReader |
Returns a DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation.
(Inherited from DbDataReader.) | |
GetDecimal | Overloaded. | |
GetDouble | Overloaded. | |
GetEnumerator |
Returns an IEnumerator that iterates through the MySqlDataReader.
(Overrides DbDataReader..::.GetEnumerator()()().) | |
GetFieldType |
Gets the Type that is the data type of the object.
(Overrides DbDataReader..::.GetFieldType(Int32).) | |
GetFloat | Overloaded. | |
GetGuid | Overloaded. | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetInt16 | Overloaded. | |
GetInt32 | Overloaded. | |
GetInt64 | Overloaded. | |
GetLifetimeService |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
GetMySqlDateTime | Overloaded. | |
GetMySqlDecimal | Overloaded. | |
GetName |
Gets the name of the specified column.
(Overrides DbDataReader..::.GetName(Int32).) | |
GetOrdinal |
Gets the column ordinal, given the name of the column.
(Overrides DbDataReader..::.GetOrdinal(String).) | |
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.) | |
GetSByte | Overloaded. | |
GetSchemaTable |
Returns a DataTable that describes the column metadata of the MySqlDataReader.
(Overrides DbDataReader..::.GetSchemaTable()()().) | |
GetString | Overloaded. | |
GetTimeSpan | Overloaded. | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
GetUInt16 | Overloaded. | |
GetUInt32 | Overloaded. | |
GetUInt64 | Overloaded. | |
GetValue |
Gets the value of the specified column in its native format.
(Overrides DbDataReader..::.GetValue(Int32).) | |
GetValues |
Gets all attribute columns in the collection for the current row.
(Overrides DbDataReader..::.GetValues(array<Object>[]()[]).) | |
InitializeLifetimeService |
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.) | |
IsDBNull |
Gets a value indicating whether the column contains non-existent or missing values.
(Overrides DbDataReader..::.IsDBNull(Int32).) | |
MemberwiseClone | Overloaded. | |
NextResult |
Advances the data reader to the next result, when reading the results of batch SQL statements.
(Overrides DbDataReader..::.NextResult()()().) | |
Read |
Advances the MySqlDataReader to the next record.
(Overrides DbDataReader..::.Read()()().) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Depth |
Gets a value indicating the depth of nesting for the current row. This method is not
supported currently and always returns 0.
(Overrides DbDataReader..::.Depth.) | |
FieldCount |
Gets the number of columns in the current row.
(Overrides DbDataReader..::.FieldCount.) | |
HasRows |
Gets a value indicating whether the MySqlDataReader contains one or more rows.
(Overrides DbDataReader..::.HasRows.) | |
IsClosed |
Gets a value indicating whether the data reader is closed.
(Overrides DbDataReader..::.IsClosed.) | |
Item | Overloaded. | |
RecordsAffected |
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
(Overrides DbDataReader..::.RecordsAffected.) | |
VisibleFieldCount |
Gets the number of fields in the DbDataReader that are not hidden.
(Inherited from DbDataReader.) |