Click or drag to resize

IOrmResultSet Methods

The IOrmResultSet type exposes the following members.

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 methodFirstOrDefault
Get first or default item in collection
Public methodGetEnumerator (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