Represents IDataReader result that can be mapped to POCO model, dictionary or RecordSet.
Inheritance Hierarchy
NReco.Data DataReaderResult
Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax
The DataReaderResult type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataReaderResult(IDataReader) |
Initializes a new instance of the DbDataAdapter with specified IDataReader instance.
| |
DataReaderResult(IDataReader, Int32, Int32) |
Initializes a new instance of the DbDataAdapter with specified IDataReader instance.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetMapper |
Configures custom mapping handler for POCO models.
| |
Single T |
Returns the first record from the query result.
| |
SingleAsync T |
Asynchronously returns the first record from the query result.
| |
SingleAsync T (CancellationToken) |
Asynchronously returns the first record from the query result.
| |
ToDictionary |
Returns dictionary with first record values.
| |
ToDictionaryAsync |
Asynchronously returns dictionary with first record values.
| |
ToDictionaryAsync(CancellationToken) |
Asynchronously returns dictionary with first record values.
| |
ToDictionaryList |
Returns a list of dictionaries with all query results.
| |
ToDictionaryListAsync |
Asynchronously a list of dictionaries with all query results.
| |
ToDictionaryListAsync(CancellationToken) |
Asynchronously a list of dictionaries with all query results.
| |
ToList T |
Returns a list with all query results.
| |
ToListAsync T |
Asynchronously returns a list with all query results.
| |
ToListAsync T (CancellationToken) |
Asynchronously returns a list with all query results.
| |
ToRecordSet |
Returns all query results as RecordSet.
| |
ToRecordSetAsync |
Asynchronously returns all query results as RecordSet.
| |
ToRecordSetAsync(CancellationToken) |
Asynchronously returns all query results as RecordSet.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also