Class QueryResult
A page of query results together with the total row count, which is what a query with inlineCount returns.
public class QueryResult
- Inheritance
-
QueryResult
- Inherited Members
Constructors
QueryResult(IEnumerable, int?)
Pair a set of results with the total count they were drawn from.
public QueryResult(IEnumerable results, int? inlineCount = null)
Parameters
resultsIEnumerableThe rows to return, after skip and take.
inlineCountint?The number of rows that matched before skip and take; null when the query did not ask for a count.
Properties
InlineCount
The number of rows matching the query before skip and take, or null if it was not requested.
public int? InlineCount { get; }
Property Value
- int?
Results
The rows returned, after skip and take were applied.
public IEnumerable Results { get; }