Click or drag to resize

MemoryQueryResultSetTData Class

A memory query result set
Inheritance Hierarchy
SystemObject
  SanteDB.Core.Model.QueryMemoryQueryResultSet
    SanteDB.Core.Model.QueryMemoryQueryResultSetTData

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

Type Parameters

TData

[Missing <typeparam name="TData"/> documentation for "T:SanteDB.Core.Model.Query.MemoryQueryResultSet`1"]

The MemoryQueryResultSetTData type exposes the following members.

Constructors
 NameDescription
Public methodMemoryQueryResultSetTData New query result set
Public methodMemoryQueryResultSetTData(IEnumerableTData) Create a new wrapped result set
Top
Properties
 NameDescription
Public propertyElementType Gets the types of elements which can be filtered and/or manipulated in the collection
(Overrides MemoryQueryResultSetElementType)
Top
Methods
 NameDescription
Public methodAny True if any results
(Inherited from MemoryQueryResultSet)
Public methodAsStateful As stateful query
(Inherited from MemoryQueryResultSet)
Public methodCount Count the objects
(Inherited from MemoryQueryResultSet)
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 Union with another
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 Get the first
(Inherited from MemoryQueryResultSet)
Public methodFirstOrDefault First or default
(Inherited from MemoryQueryResultSet)
Public methodGetEnumerator Get enumerator
(Inherited from MemoryQueryResultSet)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIntersect(ExpressionFuncTData, Boolean) Inersect with query
Public methodIntersect(IQueryResultSet) Intersect the sets
(Inherited from MemoryQueryResultSet)
Public methodIntersect(IQueryResultSetTData) Intersect with another
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOfTypeTType Return object of the specified type
(Inherited from MemoryQueryResultSet)
Public methodOrderBy(Expression) Order by descending order
(Inherited from MemoryQueryResultSet)
Public methodOrderByTKey(ExpressionFuncTData, TKey) Order by
Public methodOrderByDescending(Expression) Order by descending
(Inherited from MemoryQueryResultSet)
Public methodOrderByDescendingTKey(ExpressionFuncTData, TKey) Order by descending or
Public methodSelectTReturn(Expression) Non-generic select method
(Inherited from MemoryQueryResultSet)
Public methodSelectTReturn(ExpressionFuncTData, TReturn) Perform a select
Public methodSelectTReturn(FuncTData, TReturn) Select a C# expressions
Public methodSingle Get single result
(Inherited from MemoryQueryResultSet)
Public methodSingleOrDefault Get single result or return default
(Inherited from MemoryQueryResultSet)
Public methodSkip Skip n records
(Inherited from MemoryQueryResultSet)
Public methodTake Take n records
(Inherited from MemoryQueryResultSet)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUnion(ExpressionFuncTData, Boolean) Union with another
Public methodUnion(IQueryResultSet) Union records
(Inherited from MemoryQueryResultSet)
Public methodUnion(IQueryResultSetTData) Union with another
Public methodWhere(Expression) Where clause
(Inherited from MemoryQueryResultSet)
Public methodWhere(ExpressionFuncTData, Boolean) Where clause filter
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 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 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 MethodTransformResultSetTData, 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