Class QueryResultCollection<T, 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 QueryResultCollection<T, TResult> : QueryResult<TResult>, IEnumerable<T>, IEnumerable where TResult : IEnumerable<T>
Type Parameters
TThe type of the items in the resultant enumerable.
TResultThe type of the result property.
- Inheritance
-
QueryResult<TResult>QueryResultCollection<T, TResult>
- Implements
-
IEnumerable<T>
- Derived
- Inherited Members
Constructors
- QueryResultCollection(IEnumerable<int>, IEnumerable<string>, TResult)
Constructs a QueryResultCollection<T, TResult>.
- QueryResultCollection(ImmutableArray<int>, ImmutableArray<string>, TResult)
Constructs a QueryResultCollection<T, TResult>.
Methods
- GetEnumerator()
Returns an enumerator that iterates through the collection.