Click or drag to resize

IQueryResultSet Interface

Query result set without type parameters

Namespace: SanteDB.Core.Model.Query
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
public interface IQueryResultSet : IEnumerable

The IQueryResultSet type exposes the following members.

Properties
 NameDescription
Public propertyElementType Gets the types of elements which can be filtered and/or manipulated in the collection
Top
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
Remarks
This is a non-generic version of IQueryResultSetTData
See Also