MySqlDataReader Methods

MySQL Connector/Net

MySqlDataReader Methods

The MySqlDataReader type exposes the following members.

Methods
  Name Description
Public method Close
Closes the MySqlDataReader object.
(Overrides DbDataReaderClose.)
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
Protected method Dispose(Boolean) (Inherited from DbDataReader.)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize (Overrides ObjectFinalize.)
Public method GetBoolean(Int32)
Gets the value of the specified column as a Boolean.
(Overrides DbDataReaderGetBoolean(Int32).)
Public method GetBoolean(String)
Gets the value of the specified column as a Boolean.
Public method GetByte(Int32)
Gets the value of the specified column as a byte.
(Overrides DbDataReaderGetByte(Int32).)
Public method GetByte(String)
Gets the value of the specified column as a byte.
Public method GetBytes
Reads a stream of bytes from the specified column offset into the buffer an array starting at the given buffer offset.
(Overrides DbDataReaderGetBytes(Int32, Int64, Byte, Int32, Int32).)
Public method GetChar(Int32)
Gets the value of the specified column as a single character.
(Overrides DbDataReaderGetChar(Int32).)
Public method GetChar(String)
Gets the value of the specified column as a single character.
Public method GetChars
Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset.
(Overrides DbDataReaderGetChars(Int32, Int64, Char, Int32, Int32).)
Public method GetData (Inherited from DbDataReader.)
Public method GetDataTypeName
Gets the name of the source data type.
(Overrides DbDataReaderGetDataTypeName(Int32).)
Public method GetDateTime(Int32)
Gets the value of the specified column as a DateTime object.
(Overrides DbDataReaderGetDateTime(Int32).)
Public method GetDateTime(String)
Gets the value of the specified column as a DateTime object.
Protected method GetDbDataReader (Inherited from DbDataReader.)
Public method GetDecimal(Int32)
Gets the value of the specified column as a Decimal object.
(Overrides DbDataReaderGetDecimal(Int32).)
Public method GetDecimal(String)
Gets the value of the specified column as a Decimal object.
Public method GetDouble(Int32)
Gets the value of the specified column as a double-precision floating point number.
(Overrides DbDataReaderGetDouble(Int32).)
Public method GetDouble(String)
Gets the value of the specified column as a double-precision floating point number.
Public method GetEnumerator
Returns an IEnumerator that iterates through the MySqlDataReader.
(Overrides DbDataReaderGetEnumerator.)
Public method GetFieldType(Int32)
Gets the Type that is the data type of the object.
(Overrides DbDataReaderGetFieldType(Int32).)
Public method GetFieldType(String)
Public method GetFieldValueT (Inherited from DbDataReader.)
Public method GetFieldValueAsyncT(Int32) (Inherited from DbDataReader.)
Public method GetFieldValueAsyncT(Int32, CancellationToken) (Inherited from DbDataReader.)
Public method GetFloat(Int32)
Gets the value of the specified column as a single-precision floating point number.
(Overrides DbDataReaderGetFloat(Int32).)
Public method GetFloat(String)
Gets the value of the specified column as a single-precision floating point number.
Public method GetGuid(Int32) (Overrides DbDataReaderGetGuid(Int32).)
Public method GetGuid(String)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetInt16(Int32)
Gets the value of the specified column as a 16-bit signed integer.
(Overrides DbDataReaderGetInt16(Int32).)
Public method GetInt16(String)
Gets the value of the specified column as a 16-bit signed integer.
Public method GetInt32(Int32)
Gets the value of the specified column as a 32-bit signed integer.
(Overrides DbDataReaderGetInt32(Int32).)
Public method GetInt32(String)
Gets the value of the specified column as a 32-bit signed integer.
Public method GetInt64(Int32)
Gets the value of the specified column as a 64-bit signed integer.
(Overrides DbDataReaderGetInt64(Int32).)
Public method GetInt64(String)
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 GetMySqlDateTime(Int32)
Gets the value of the specified column as a MySqlDateTime object.
Public method GetMySqlDateTime(String)
Gets the value of the specified column as a MySqlDateTime object.
Public method GetMySqlDecimal(Int32)
Public method GetMySqlDecimal(String)
Public method GetMySqlGeometry(Int32)
Public method GetMySqlGeometry(String)
Public method GetName
Gets the name of the specified column.
(Overrides DbDataReaderGetName(Int32).)
Public method GetOrdinal
Gets the column ordinal, given the name of the column.
(Overrides DbDataReaderGetOrdinal(String).)
Public method GetProviderSpecificFieldType (Inherited from DbDataReader.)
Public method GetProviderSpecificValue (Inherited from DbDataReader.)
Public method GetProviderSpecificValues (Inherited from DbDataReader.)
Public method GetSByte(Int32)
Gets the value of the specified column as a sbyte.
Public method GetSByte(String)
Gets the value of the specified column as a sbyte.
Public method GetSchemaTable
Returns a DataTable that describes the column metadata of the MySqlDataReader.
(Overrides DbDataReaderGetSchemaTable.)
Public method GetStream (Inherited from DbDataReader.)
Public method GetString(Int32)
Gets the value of the specified column as a String object.
(Overrides DbDataReaderGetString(Int32).)
Public method GetString(String)
Gets the value of the specified column as a String object.
Public method GetTextReader (Inherited from DbDataReader.)
Public method GetTimeSpan(Int32)
Gets the value of the specified column as a TimeSpan object.
Public method GetTimeSpan(String)
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 GetUInt16(Int32)
Gets the value of the specified column as a 16-bit unsigned integer.
Public method GetUInt16(String)
Gets the value of the specified column as a 16-bit unsigned integer.
Public method GetUInt32(Int32)
Gets the value of the specified column as a 32-bit unsigned integer.
Public method GetUInt32(String)
Gets the value of the specified column as a 32-bit unsigned integer.
Public method GetUInt64(Int32)
Gets the value of the specified column as a 64-bit unsigned integer.
Public method GetUInt64(String)
Gets the value of the specified column as a 64-bit unsigned integer.
Public method GetValue
Gets the value of the specified column in its native format.
(Overrides DbDataReaderGetValue(Int32).)
Public method GetValues
Gets all attribute columns in the collection for the current row.
(Overrides DbDataReaderGetValues(Object).)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method IsDBNull
Gets a value indicating whether the column contains non-existent or missing values.
(Overrides DbDataReaderIsDBNull(Int32).)
Public method IsDBNullAsync(Int32) (Inherited from DbDataReader.)
Public method IsDBNullAsync(Int32, CancellationToken) (Inherited from DbDataReader.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public method NextResult
Advances the data reader to the next result, when reading the results of batch SQL statements.
(Overrides DbDataReaderNextResult.)
Public method NextResultAsync (Inherited from DbDataReader.)
Public method NextResultAsync(CancellationToken) (Inherited from DbDataReader.)
Public method Read
Advances the MySqlDataReader to the next record.
(Overrides DbDataReaderRead.)
Public method ReadAsync (Inherited from DbDataReader.)
Public method ReadAsync(CancellationToken) (Inherited from DbDataReader.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also