DataReaderResult ClassNReco.Data Class Library Documentation
Represents IDataReader result that can be mapped to POCO model, dictionary or RecordSet.
Inheritance Hierarchy

System Object
  NReco.Data DataReaderResult

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public class DataReaderResult : IQueryModelResult, 
	IQueryDictionaryResult, IQueryRecordSetResult

The DataReaderResult type exposes the following members.

Constructors

  NameDescription
Public methodDataReaderResult(IDataReader)
Initializes a new instance of the DbDataAdapter with specified IDataReader instance.
Public methodDataReaderResult(IDataReader, Int32, Int32)
Initializes a new instance of the DbDataAdapter with specified IDataReader instance.
Top
Methods

  NameDescription
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetMapper
Configures custom mapping handler for POCO models.
Public methodSingle T 
Returns the first record from the query result.
Public methodSingleAsync T  
Asynchronously returns the first record from the query result.
Public methodSingleAsync T (CancellationToken)
Asynchronously returns the first record from the query result.
Public methodToDictionary
Returns dictionary with first record values.
Public methodToDictionaryAsync 
Asynchronously returns dictionary with first record values.
Public methodToDictionaryAsync(CancellationToken)
Asynchronously returns dictionary with first record values.
Public methodToDictionaryList
Returns a list of dictionaries with all query results.
Public methodToDictionaryListAsync 
Asynchronously a list of dictionaries with all query results.
Public methodToDictionaryListAsync(CancellationToken)
Asynchronously a list of dictionaries with all query results.
Public methodToList T 
Returns a list with all query results.
Public methodToListAsync T  
Asynchronously returns a list with all query results.
Public methodToListAsync T (CancellationToken)
Asynchronously returns a list with all query results.
Public methodToRecordSet
Returns all query results as RecordSet.
Public methodToRecordSetAsync 
Asynchronously returns all query results as RecordSet.
Public methodToRecordSetAsync(CancellationToken)
Asynchronously returns all query results as RecordSet.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also