Class QueryResult<TResult>
- Namespace
- Open.Database.Extensions.Core
- Assembly
- Open.Database.Extensions.Core.dll
A container for data reader results that also provides the column names and other helpful data methods.
public class QueryResult<TResult>
Type Parameters
TResultThe type of the result property.
- Inheritance
-
QueryResult<TResult>
- Derived
- Inherited Members
Constructors
- QueryResult(ImmutableArray<int>, ImmutableArray<string>, TResult)
Constructs a QueryResult<TResult>.
Fields
- ColumnCount
The number of columns.
- Names
The column names requested.
- Ordinals
The ordinal values requested.
- Result
The values requested. A Queue is used since values are typically used first in first out and dequeuing results helps reduced redundant memory usage.
Operators
- implicit operator TResult(QueryResult<TResult>)
Implicitly returns the result from this instance.