Click or drag to resize

OrmQueryResultSetTResult Methods

The OrmQueryResultSetTResult type exposes the following members.

Methods
 NameDescription
Public methodAny Returns true if any results match
Public methodAsStateful 
Public methodCount Return only the count of the objects
Public methodDistinct Get only distinct objects in the collection
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExcept Do not include in the result set any objects which match the query
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
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 the collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIntersect(ExpressionFuncTResult, Boolean) Intersect this result set with another
Public methodIntersect(IQueryResultSet) Intersect this set and other
Public methodIntersect(IQueryResultSetTResult) Intersect this result set with another
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOfTypeTType Flatten this object model to an IEnumerable of type TType
Public methodOrderBy(Expression) Order by the specified expression
Public methodOrderByTKey(ExpressionFuncTResult, TKey) Order the result set by the specified sort expression
Public methodOrderByDescending(Expression) Order by in descending order
Public methodOrderByDescendingTKey(ExpressionFuncTResult, TKey) Order the result set by descending
Public methodSelectTReturn(Expression) Select a single object from the object
Public methodSelectTReturn(ExpressionFuncTResult, TReturn) 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 methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUnion(ExpressionFuncTResult, Boolean) Union the results in this set with those matching query
Public methodUnion(IQueryResultSet) Union this set and other
Public methodUnion(IQueryResultSetTResult) Union the results in this set with those in the other
Public methodWhere(Expression) Filter the result set where the specified condition matches
Public methodWhere(ExpressionFuncTResult, Boolean) 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 MethodAsResultSetTResult As result set
(Defined by ExtensionMethods)
Public Extension MethodConvertTReturn The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods)
Public Extension MethodForEachTResult For each item in an enumerable
(Defined by ExtensionMethods)
Public Extension MethodIsNullOrEmpty Returns true if the IList is null or has no elements
(Defined by ExtensionMethods)
Public Extension MethodOrderByTResult, TKey Order result set
(Defined by ExtensionMethods)
Public Extension MethodOrderByDescendingTResult, TKey Order result set
(Defined by ExtensionMethods)
Public Extension MethodToDictionaryIgnoringDuplicatesTResult, TKey Creates a DictionaryTKey, TValue from an IEnumerableT according to specified key selector function. Diplicate keys will not be added to the dictionary.
(Defined by ExtensionMethods)
Public Extension MethodToDictionaryIgnoringDuplicatesTResult, TKey, TElement Creates a DictionaryTKey, TValue from an IEnumerableT according to specified key selector and element selector functions. Diplicate keys will not be added to the dictionary.
(Defined by ExtensionMethods)
Public Extension MethodTransformResultSetTResult, TTo As a result set
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also