Class QueryResult<T>
Represents a result from a Query.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Namespace: IRM.Messaging
Assembly: IRM.dll
Syntax
public class QueryResult<T>
Type Parameters
T
The type of result returned. |
Properties
AggregateResults
Gets a list of aggregate results.
Declaration
public IEnumerable<AggregateResult> AggregateResults { get; set; }
Property Value
IEnumerable<AggregateResult>
|
Empty
Gets an empty QueryResult<T> with no items.
Declaration
public static QueryResult<T> Empty { get; }
Property Value
QueryResult<T>
|
Result
Gets a list of returned items.
Declaration
public IEnumerable<T> Result { get; set; }
Property Value
IEnumerable<T>
|
Total
Gets the total number of results.
Declaration
public int Total { get; set; }
Property Value
System.Int32
|
Remarks
This is often greater than the total count of items in Result, for example when pageing is used.