Show / Hide Table of Contents

Class QueryResult<T>

Represents a result from a Query.

Inheritance
Object
QueryResult<T>
Inherited Members
System.Object.ToString()
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
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.

Extension Methods

ObjectExtensions.DeepClone<T>(T)
AnnotationsExtensions.IsValid(Object)
Back to top Generated by DocFX