Click or drag to resize

IOrderableQueryResultSet Interface

Represents an orderable query result set

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

The IOrderableQueryResultSet type exposes the following members.

Properties
 NameDescription
Public propertyElementType Gets the types of elements which can be filtered and/or manipulated in the collection
(Inherited from IQueryResultSet)
Top
Methods
 NameDescription
Public methodAny Returns true if any results match
(Inherited from IQueryResultSet)
Public methodAsStateful Get the result set as a stateful query
(Inherited from IQueryResultSet)
Public methodCount Return only the count of the objects
(Inherited from IQueryResultSet)
Public methodFirst Retrieve the first result otherwise throw exception
(Inherited from IQueryResultSet)
Public methodFirstOrDefault Retrieve the first result otherwise return default
(Inherited from IQueryResultSet)
Public methodGetEnumeratorReturns an enumerator that iterates through a collection.
(Inherited from IEnumerable)
Public methodIntersect Intersect this set and other
(Inherited from IQueryResultSet)
Public methodOfTypeTType Flatten this object model to an IEnumerable of type TType
(Inherited from IQueryResultSet)
Public methodOrderBy Order by the specified expression
Public methodOrderByDescending Order by in descending order
Public methodSelectTReturn Select a single object from the object
(Inherited from IQueryResultSet)
Public methodSingle Retrieve one (and only one) result otherwise throw exception
(Inherited from IQueryResultSet)
Public methodSingleOrDefault Retrieve one (and only one) otherwise return null if not found or throw if more than one
(Inherited from IQueryResultSet)
Public methodSkip Skip count results
(Inherited from IQueryResultSet)
Public methodTake Take only count results
(Inherited from IQueryResultSet)
Public methodUnion Union this set and other
(Inherited from IQueryResultSet)
Public methodWhere Filter the result set where the specified condition matches
(Inherited from IQueryResultSet)
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