.NET Framework Class Library
DbDataReader Members

Reads a forward-only stream of rows from a data source.

The DbDataReader type exposes the following members.

Constructors

  NameDescription
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkDbDataReaderInitializes a new instance of the DbDataReader class.
Top
Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkCloseCloses the DbDataReader object.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkDisposeOverloaded. Releases the resources used by the DbDataReader and calls Close.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetBooleanGets the value of the specified column as a Boolean.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetByteGets the value of the specified column as a byte.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetBytesReads a stream of bytes from the specified column, starting at location indicated by dataOffset, into the buffer, starting at the location indicated by bufferOffset.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetCharGets the value of the specified column as a single character.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetCharsReads a stream of characters from the specified column, starting at location indicated by dataIndex, into the buffer, starting at the location indicated by bufferIndex.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetDataReturns a DbDataReader object for the requested column ordinal.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetDataTypeNameGets name of the data type of the specified column.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetDateTimeGets the value of the specified column as a DateTime object.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetDbDataReaderReturns a DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetDecimalGets the value of the specified column as a Decimal object.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetDoubleGets the value of the specified column as a double-precision floating point number.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetEnumeratorReturns an IEnumerator that can be used to iterate through the rows in the data reader.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetFieldTypeGets the data type of the specified column.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetFloatGets the value of the specified column as a single-precision floating point number.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetGuidGets the value of the specified column as a globally-unique identifier (GUID).
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetInt16Gets the value of the specified column as a 16-bit signed integer.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetInt32Gets the value of the specified column as a 32-bit signed integer.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetInt64Gets the value of the specified column as a 64-bit signed integer.
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetNameGets the name of the column, given the zero-based column ordinal.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetOrdinalGets the column ordinal given the name of the column.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetProviderSpecificFieldTypeReturns the provider-specific field type of the specified column.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetProviderSpecificValueGets the value of the specified column as an instance of Object.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetProviderSpecificValuesGets all provider-specific attribute columns in the collection for the current row.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetSchemaTableReturns a DataTable that describes the column metadata of the DbDataReader.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetStringGets the value of the specified column as an instance of String.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetValueGets the value of the specified column as an instance of Object.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetValuesPopulates an array of objects with the column values of the current row.
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIsDBNullGets a value that indicates whether the column contains nonexistent or missing values.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneOverloaded.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkNextResultAdvances the reader to the next result when reading the results of a batch of statements.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReadAdvances the reader to the next record in a result set.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Extension Methods

  NameDescription
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCastConverts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfTypeFilters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top
Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkDepthGets a value indicating the depth of nesting for the current row.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkFieldCountGets the number of columns in the current row.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkHasRowsGets a value that indicates whether this DbDataReader contains one or more rows.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkIsClosedGets a value indicating whether the DbDataReader is closed.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkItemOverloaded. Gets the value of a specified column as an instance of Object.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkRecordsAffectedGets the number of rows changed, inserted, or deleted by execution of the SQL statement.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkVisibleFieldCountGets the number of fields in the DbDataReader that are not hidden.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkIDataRecord..::.GetDataFor a description of this member, see IDataRecord..::.GetData.
Top
See Also

Reference

Tags :


Page view tracker