Click or drag to resize

IQueryResultSet Methods

The IQueryResultSet type exposes the following members.

Methods
 NameDescription
Public methodAny Returns true if any results match
Public methodAsStateful Get the result set as a stateful query
Public methodCount Return only the count of the objects
Public methodFirst Retrieve the first result otherwise throw exception
Public methodFirstOrDefault Retrieve the first result otherwise return default
Public methodGetEnumeratorReturns an enumerator that iterates through a collection.
(Inherited from IEnumerable)
Public methodIntersect Intersect this set and other
Public methodOfTypeTType Flatten this object model to an IEnumerable of type TType
Public methodSelectTReturn Select a single object from the object
Public methodSingle Retrieve one (and only one) result otherwise throw exception
Public methodSingleOrDefault Retrieve one (and only one) otherwise return null if not found or throw if more than one
Public methodSkip Skip count results
Public methodTake Take only count results
Public methodUnion Union this set and other
Public methodWhere Filter the result set where the specified condition matches
Top
Extension Methods
 NameDescription
Public Extension MethodApplyResultInstructions Apply result instructions
(Defined by QueryControlUtility)
Public Extension MethodAsResultSet As result set
(Defined by ExtensionMethods)
Public Extension MethodIsNullOrEmpty Returns true if the IList is null or has no elements
(Defined by ExtensionMethods)
Top
See Also