Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataTableReader Methods

DataTableReader Methods

The DataTableReader type exposes the following members.

  Name Description
Public method Supported by the XNA Framework Close Closes the current DataTableReader. (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 Supported by the XNA Framework Dispose() Releases all resources used by the current instance of the DbDataReader class. (Inherited from DbDataReader.)
Public method Supported by the XNA Framework Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Supported by the XNA Framework GetBoolean Gets the value of the specified column as a Boolean. (Overrides DbDataReader.GetBoolean(Int32).)
Public method Supported by the XNA Framework GetByte Gets the value of the specified column as a byte. (Overrides DbDataReader.GetByte(Int32).)
Public method Supported by the XNA Framework GetBytes Reads a stream of bytes starting at the specified column offset into the buffer as an array starting at the specified buffer offset. (Overrides DbDataReader.GetBytes(Int32, Int64, Byte[], Int32, Int32).)
Public method Supported by the XNA Framework GetChar Gets the value of the specified column as a character. (Overrides DbDataReader.GetChar(Int32).)
Public method Supported by the XNA Framework GetChars Returns the value of the specified column as a character array. (Overrides DbDataReader.GetChars(Int32, Int64, Char[], Int32, Int32).)
Public method Supported by the XNA Framework GetData Returns a DbDataReader object for the requested column ordinal. (Inherited from DbDataReader.)
Public method Supported by the XNA Framework GetDataTypeName Gets a string representing the data type of the specified column. (Overrides DbDataReader.GetDataTypeName(Int32).)
Public method Supported by the XNA Framework GetDateTime Gets the value of the specified column as a DateTime object. (Overrides DbDataReader.GetDateTime(Int32).)
Public method Supported by the XNA Framework GetDecimal Gets the value of the specified column as a Decimal. (Overrides DbDataReader.GetDecimal(Int32).)
Public method Supported by the XNA Framework GetDouble Gets the value of the column as a double-precision floating point number. (Overrides DbDataReader.GetDouble(Int32).)
Public method Supported by the XNA Framework GetEnumerator Returns an enumerator that can be used to iterate through the item collection. (Overrides DbDataReader.GetEnumerator().)
Public method Supported by the XNA Framework GetFieldType Gets the Type that is the data type of the object. (Overrides DbDataReader.GetFieldType(Int32).)
Public method GetFieldValue<T> Synchronously gets the value of the specified column as a type. (Inherited from DbDataReader.)
Public method GetFieldValueAsync<T>(Int32) Asynchronously gets the value of the specified column as a type. (Inherited from DbDataReader.)
Public method GetFieldValueAsync<T>(Int32, CancellationToken) Asynchronously gets the value of the specified column as a type. (Inherited from DbDataReader.)
Public method Supported by the XNA Framework GetFloat Gets the value of the specified column as a single-precision floating point number. (Overrides DbDataReader.GetFloat(Int32).)
Public method Supported by the XNA Framework GetGuid Gets the value of the specified column as a globally-unique identifier (GUID). (Overrides DbDataReader.GetGuid(Int32).)
Public method Supported by the XNA Framework GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method Supported by the XNA Framework GetInt16 Gets the value of the specified column as a 16-bit signed integer. (Overrides DbDataReader.GetInt16(Int32).)
Public method Supported by the XNA Framework GetInt32 Gets the value of the specified column as a 32-bit signed integer. (Overrides DbDataReader.GetInt32(Int32).)
Public method Supported by the XNA Framework GetInt64 Gets the value of the specified column as a 64-bit signed integer. (Overrides DbDataReader.GetInt64(Int32).)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the XNA Framework GetName Gets the value of the specified column as a String. (Overrides DbDataReader.GetName(Int32).)
Public method Supported by the XNA Framework GetOrdinal Gets the column ordinal, given the name of the column. (Overrides DbDataReader.GetOrdinal(String).)
Public method Supported by the XNA Framework GetProviderSpecificFieldType Gets the type of the specified column in provider-specific format. (Overrides DbDataReader.GetProviderSpecificFieldType(Int32).)
Public method Supported by the XNA Framework GetProviderSpecificValue Gets the value of the specified column in provider-specific format. (Overrides DbDataReader.GetProviderSpecificValue(Int32).)
Public method Supported by the XNA Framework GetProviderSpecificValues Fills the supplied array with provider-specific type information for all the columns in the DataTableReader. (Overrides DbDataReader.GetProviderSpecificValues(Object[]).)
Public method Supported by the XNA Framework GetSchemaTable Returns a DataTable that describes the column metadata of the DataTableReader. (Overrides DbDataReader.GetSchemaTable().)
Public method GetStream Retrieves data as a Stream. (Inherited from DbDataReader.)
Public method Supported by the XNA Framework GetString Gets the value of the specified column as a string. (Overrides DbDataReader.GetString(Int32).)
Public method GetTextReader Retrieves data as a TextReader. (Inherited from DbDataReader.)
Public method Supported by the XNA Framework GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the XNA Framework GetValue Gets the value of the specified column in its native format. (Overrides DbDataReader.GetValue(Int32).)
Public method Supported by the XNA Framework GetValues Populates an array of objects with the column values of the current row. (Overrides DbDataReader.GetValues(Object[]).)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the XNA Framework IsDBNull Gets a value that indicates whether the column contains non-existent or missing values. (Overrides DbDataReader.IsDBNull(Int32).)
Public method IsDBNullAsync(Int32) An asynchronous version of IsDBNull, which gets a value that indicates whether the column contains non-existent or missing values. (Inherited from DbDataReader.)
Public method IsDBNullAsync(Int32, CancellationToken) An asynchronous version of IsDBNull, which gets a value that indicates whether the column contains non-existent or missing values. Optionally, sends a notification that operations should be cancelled. (Inherited from DbDataReader.)
Public method Supported by the XNA Framework NextResult Advances the DataTableReader to the next result set, if any. (Overrides DbDataReader.NextResult().)
Public method NextResultAsync() An asynchronous version of NextResult, which advances the reader to the next result when reading the results of a batch of statements.Invokes NextResultAsync with CancellationToken.None. (Inherited from DbDataReader.)
Public method NextResultAsync(CancellationToken) This is the asynchronous version of NextResult. Providers should override with an appropriate implementation. The cancellationToken may optionally be ignored.The default implementation invokes the synchronous NextResult method and returns a completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellationToken. Exceptions thrown by NextResult will be communicated via the returned Task Exception property.Other methods and properties of the DbDataReader object should not be invoked while the returned Task is not yet completed. (Inherited from DbDataReader.)
Public method Supported by the XNA Framework Read Advances the DataTableReader to the next record. (Overrides DbDataReader.Read().)
Public method ReadAsync() An asynchronous version of Read, which advances the reader to the next record in a result set. This method invokes ReadAsync with CancellationToken.None. (Inherited from DbDataReader.)
Public method ReadAsync(CancellationToken) This is the asynchronous version of Read. Providers should override with an appropriate implementation. The cancellationToken may optionally be ignored.The default implementation invokes the synchronous Read method and returns a completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellationToken. Exceptions thrown by Read will be communicated via the returned Task Exception property.Do not invoke other methods and properties of the DbDataReader object until the returned Task is complete. (Inherited from DbDataReader.)
Public method Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method Supported by the XNA Framework IDataRecord.GetData For a description of this member, see IDataRecord.GetData. (Inherited from DbDataReader.)
Top
Show:
© 2015 Microsoft