Click or drag to resize

IQueryResultSetTData Methods

The IQueryResultSetTData type exposes the following members.

Methods
 NameDescription
Public methodAny Returns true if any results match
(Inherited from IQueryResultSet)
Public methodAsStateful Get the result set as a stateful query
Public methodCount Return only the count of the objects
(Inherited from IQueryResultSet)
Public methodDistinct Get only distinct objects in the collection
Public methodExcept Do not include in the result set any objects which match the query
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(ExpressionFuncTData, Boolean) Intersect this result set with another
Public methodIntersect(IQueryResultSet) Intersect this set and other
(Inherited from IQueryResultSet)
Public methodIntersect(IQueryResultSetTData) Intersect this result set with another
Public methodOfTypeTType Flatten this object model to an IEnumerable of type TType
(Inherited from IQueryResultSet)
Public methodSelectTReturn(Expression) Select a single object from the object
(Inherited from IQueryResultSet)
Public methodSelectTReturn(ExpressionFuncTData, 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 methodUnion(ExpressionFuncTData, Boolean) Union the results in this set with those matching query
Public methodUnion(IQueryResultSet) Union this set and other
(Inherited from IQueryResultSet)
Public methodUnion(IQueryResultSetTData) Union the results in this set with those in the other
Public methodWhere(Expression) Filter the result set where the specified condition matches
(Inherited from IQueryResultSet)
Public methodWhere(ExpressionFuncTData, 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 MethodAsResultSetTData As result set
(Defined by ExtensionMethods)
Public Extension MethodForEachTData 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 MethodOrderByTData, TKey Order result set
(Defined by ExtensionMethods)
Public Extension MethodOrderByDescendingTData, TKey Order result set
(Defined by ExtensionMethods)
Public Extension MethodToDictionaryIgnoringDuplicatesTData, 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 MethodToDictionaryIgnoringDuplicatesTData, 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 MethodTransformResultSetTFrom, TTo As a result set
(Defined by ExtensionMethods)
Top
See Also