MySqlDataReader Methods

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image

The MySqlDataReader type exposes the following members.

Methods

  Name Description
Public method Close
Closes the MySqlDataReader object.
(Overrides DbDataReader..::..Close()()()().)
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)
Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources.
(Inherited from DbDataReader.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetBoolean(Int32)
Gets the value of the specified column as a Boolean.
(Overrides DbDataReader..::..GetBoolean(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 DbDataReader..::..GetByte(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 DbDataReader..::..GetBytes(Int32, Int64, array<Byte>[]()[][], Int32, Int32).)
Public method GetChar(Int32)
Gets the value of the specified column as a single character.
(Overrides DbDataReader..::..GetChar(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 DbDataReader..::..GetChars(Int32, Int64, array<Char>[]()[][], Int32, Int32).)
Public method GetData
Returns a DbDataReader object for the requested column ordinal.
(Inherited from DbDataReader.)
Public method GetDataTypeName
Gets the name of the source data type.
(Overrides DbDataReader..::..GetDataTypeName(Int32).)
Public method GetDateTime(Int32)
Gets the value of the specified column as a DateTime object.
(Overrides DbDataReader..::..GetDateTime(Int32).)
Public method GetDateTime(String)
Gets the value of the specified column as a DateTime object.
Protected method GetDbDataReader
Returns a DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation.
(Inherited from DbDataReader.)
Public method GetDecimal(Int32)
Gets the value of the specified column as a Decimal object.
(Overrides DbDataReader..::..GetDecimal(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 DbDataReader..::..GetDouble(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 DbDataReader..::..GetEnumerator()()()().)
Public method GetFieldType(Int32)
Gets the Type that is the data type of the object.
(Overrides DbDataReader..::..GetFieldType(Int32).)
Public method GetFieldType(String)
Public method GetFloat(Int32)
Gets the value of the specified column as a single-precision floating point number.
(Overrides DbDataReader..::..GetFloat(Int32).)
Public method GetFloat(String)
Gets the value of the specified column as a single-precision floating point number.
Public method GetGuid(Int32) (Overrides DbDataReader..::..GetGuid(Int32).)
Public method GetGuid(String)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetInt16(Int32)
Gets the value of the specified column as a 16-bit signed integer.
(Overrides DbDataReader..::..GetInt16(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 DbDataReader..::..GetInt32(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 DbDataReader..::..GetInt64(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 DbDataReader..::..GetName(Int32).)
Public method GetOrdinal
Gets the column ordinal, given the name of the column.
(Overrides DbDataReader..::..GetOrdinal(String).)
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 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 DbDataReader..::..GetSchemaTable()()()().)
Public method GetString(Int32)
Gets the value of the specified column as a String object.
(Overrides DbDataReader..::..GetString(Int32).)
Public method GetString(String)
Gets the value of the specified column as a String object.
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 DbDataReader..::..GetValue(Int32).)
Public method GetValues
Gets all attribute columns in the collection for the current row.
(Overrides DbDataReader..::..GetValues(array<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 DbDataReader..::..IsDBNull(Int32).)
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 DbDataReader..::..NextResult()()()().)
Public method Read
Advances the MySqlDataReader to the next record.
(Overrides DbDataReader..::..Read()()()().)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also