Click or drag to resize

CachedResultsetDataReader Class

DataReader which is used to traverse a cached resultset.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public class CachedResultsetDataReader : DbDataReader

The CachedResultsetDataReader type exposes the following members.

Properties
  NameDescription
Public propertyDepth
Gets a value indicating the depth of nesting for the current row.
(Overrides DbDataReaderDepth.)
Public propertyFieldCount
Gets the number of columns in the current row.
(Overrides DbDataReaderFieldCount.)
Public propertyHasRows
Gets a value that indicates whether this DbDataReader contains one or more rows.
(Overrides DbDataReaderHasRows.)
Public propertyIsClosed
Gets a value indicating whether the DbDataReader is closed.
(Overrides DbDataReaderIsClosed.)
Public propertyItemInt32
Gets the value of the specified column as an instance of Object.
(Overrides DbDataReaderItemInt32.)
Public propertyItemString
Gets the value of the specified column as an instance of Object.
(Overrides DbDataReaderItemString.)
Public propertyRecordsAffected
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
(Overrides DbDataReaderRecordsAffected.)
Public propertyVisibleFieldCount
Gets the number of fields in the DbDataReader that are not hidden.
(Inherited from DbDataReader.)
Top
Methods
  NameDescription
Public methodClose
Closes the DbDataReader object.
(Overrides DbDataReaderClose.)
Public methodCreateObjRef
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 methodDispose
Releases all resources used by the current instance of the DbDataReader class.
(Inherited from DbDataReader.)
Protected methodDispose(Boolean)
Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources.
(Inherited from DbDataReader.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBoolean
Gets the value of the specified column as a Boolean.
(Overrides DbDataReaderGetBoolean(Int32).)
Public methodGetByte
Gets the value of the specified column as a byte.
(Overrides DbDataReaderGetByte(Int32).)
Public methodGetBytes
Reads a stream of bytes from the specified column, starting at location indicated by dataOffset, into the buffer, starting at the location indicated by bufferOffset.
(Overrides DbDataReaderGetBytes(Int32, Int64, Byte, Int32, Int32).)
Public methodGetChar
Gets the value of the specified column as a single character.
(Overrides DbDataReaderGetChar(Int32).)
Public methodGetChars
Reads a stream of characters from the specified column, starting at location indicated by dataOffset, into the buffer, starting at the location indicated by bufferOffset.
(Overrides DbDataReaderGetChars(Int32, Int64, Char, Int32, Int32).)
Public methodGetData
Returns a DbDataReader object for the requested column ordinal.
(Inherited from DbDataReader.)
Public methodGetDataTypeName
Gets name of the data type of the specified column.
(Overrides DbDataReaderGetDataTypeName(Int32).)
Public methodGetDateTime
Gets the value of the specified column as a DateTime object.
(Overrides DbDataReaderGetDateTime(Int32).)
Protected methodGetDbDataReader
Returns a DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation.
(Inherited from DbDataReader.)
Public methodGetDecimal
Gets the value of the specified column as a Decimal object.
(Overrides DbDataReaderGetDecimal(Int32).)
Public methodGetDouble
Gets the value of the specified column as a double-precision floating point number.
(Overrides DbDataReaderGetDouble(Int32).)
Public methodGetEnumerator
Returns an IEnumerator that can be used to iterate through the rows in the data reader.
(Overrides DbDataReader.GetEnumerator.)
Public methodGetFieldType
Gets the data type of the specified column.
(Overrides DbDataReaderGetFieldType(Int32).)
Public methodGetFieldValueT
Synchronously gets the value of the specified column as a type.
(Inherited from DbDataReader.)
Public methodGetFieldValueAsyncT(Int32)
Asynchronously gets the value of the specified column as a type.
(Inherited from DbDataReader.)
Public methodGetFieldValueAsyncT(Int32, CancellationToken)
Asynchronously gets the value of the specified column as a type.
(Inherited from DbDataReader.)
Public methodGetFloat
Gets the value of the specified column as a single-precision floating point number.
(Overrides DbDataReaderGetFloat(Int32).)
Public methodGetGuid
Gets the value of the specified column as a globally-unique identifier (GUID).
(Overrides DbDataReaderGetGuid(Int32).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt16
Gets the value of the specified column as a 16-bit signed integer.
(Overrides DbDataReaderGetInt16(Int32).)
Public methodGetInt32
Gets the value of the specified column as a 32-bit signed integer.
(Overrides DbDataReaderGetInt32(Int32).)
Public methodGetInt64
Gets the value of the specified column as a 64-bit signed integer.
(Overrides DbDataReaderGetInt64(Int32).)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetName
Gets the name of the column, given the zero-based column ordinal.
(Overrides DbDataReaderGetName(Int32).)
Public methodGetOrdinal
Gets the column ordinal given the name of the column.
(Overrides DbDataReaderGetOrdinal(String).)
Public methodGetProviderSpecificFieldType
Returns the provider-specific field type of the specified column.
(Inherited from DbDataReader.)
Public methodGetProviderSpecificValue
Gets the value of the specified column as an instance of Object.
(Inherited from DbDataReader.)
Public methodGetProviderSpecificValues
Gets all provider-specific attribute columns in the collection for the current row.
(Inherited from DbDataReader.)
Public methodGetSchemaTable
Returns a DataTable that describes the column metadata of the DbDataReader.
(Overrides DbDataReaderGetSchemaTable.)
Public methodGetStream
Retrieves data as a Stream.
(Inherited from DbDataReader.)
Public methodGetString
Gets the value of the specified column as an instance of String.
(Overrides DbDataReaderGetString(Int32).)
Public methodGetTextReader
Retrieves data as a TextReader.
(Inherited from DbDataReader.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the value of the specified column as an instance of Object.
(Overrides DbDataReaderGetValue(Int32).)
Public methodGetValues
Gets all attribute columns in the collection for the current row.
(Overrides DbDataReaderGetValues(Object).)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodIsDBNull
Gets a value that indicates whether the column contains nonexistent or missing values.
(Overrides DbDataReaderIsDBNull(Int32).)
Public methodIsDBNullAsync(Int32)
An asynchronous version of IsDBNull(Int32), which gets a value that indicates whether the column contains non-existent or missing values.
(Inherited from DbDataReader.)
Public methodIsDBNullAsync(Int32, CancellationToken)
An asynchronous version of IsDBNull(Int32), 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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodNextResult
Advances the reader to the next result when reading the results of a batch of statements.
(Overrides DbDataReaderNextResult.)
Public methodNextResultAsync
An asynchronous version of NextResult, which advances the reader to the next result when reading the results of a batch of statements.Invokes NextResultAsync(CancellationToken) with CancellationToken.None.
(Inherited from DbDataReader.)
Public methodNextResultAsync(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 methodRead
Advances the reader to the next record in a result set.
(Overrides DbDataReaderRead.)
Public methodReadAsync
An asynchronous version of Read, which advances the reader to the next record in a result set. This method invokes ReadAsync(CancellationToken) with CancellationToken.None.
(Inherited from DbDataReader.)
Public methodReadAsync(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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations
Remarks
This reader won't clone byte[] values, so byte manipulation in a row which is received from this reader will affect all objects which contain the particular value.
See Also