Click or drag to resize

IOrmResultSet Interface

Non-generic interface

Namespace: SanteDB.OrmLite
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
public interface IOrmResultSet : IEnumerable

The IOrmResultSet type exposes the following members.

Properties
 NameDescription
Public propertyContext Gets the data context
Public propertyElementType Gets the type of data in the property
Public propertyStatement Gets the SQL statement that this result set is based on
Top
Methods
 NameDescription
Public methodAny True if there are any matching
Public methodClone Clone the current result set with the specified sqlstatement
Public methodCloneOnContext Clone on a new context
Public methodCount Counts the number of records
Public methodDistinct Return only distinct objects
Public methodExcept Except keys
Public methodFirstOrDefault Get first or default item in collection
Public methodGetEnumeratorReturns an enumerator that iterates through a collection.
(Inherited from IEnumerable)
Public methodHavingKeys Returns only those objects in the result set whos primary keys are listed
Public methodIntersect Intersect keys
Public methodKeysTKey Gets the specified key
Public methodKeysTKey(Boolean) Select only keys
Public methodOrderBy Order in ascending order accoridng to expression
Public methodOrderByDescending Order by descending according to expression
Public methodSelectTElement Select the
Public methodSkip Skip N results
Public methodTake Take N results
Public methodUnion Union keys
Public methodWhere Wraps the query in this result set in another query with a where clause matching whereExpression
Public methodWithoutOrdering Remove the odering instructions
Public methodWithoutSkip Remove the skip instructions
Public methodWithoutTake Remove the take instruction
Top
Extension Methods
 NameDescription
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