Click or drag to resize

MemoryQueryResultSet Class

Wrapped 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 : IQueryResultSet, 
	IEnumerable, IOrderableQueryResultSet

The MemoryQueryResultSet type exposes the following members.

Constructors
 NameDescription
Public methodMemoryQueryResultSet Creates a new wrapped memory result set
Top
Properties
 NameDescription
Public propertyElementType Gets the types of elements which can be filtered and/or manipulated in the collection
Top
Methods
 NameDescription
Public methodAny True if any results
Public methodAsStateful As stateful query
Public methodCount Count the objects
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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
Public methodFirstOrDefault First or default
Public methodGetEnumerator Get enumerator
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIntersect Intersect the sets
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOfTypeTType Return object of the specified type
Public methodOrderBy Order by descending order
Public methodOrderByDescending Order by descending
Public methodSelectTReturn Non-generic select method
Public methodSingle Get single result
Public methodSingleOrDefault Get single result or return default
Public methodSkip Skip n records
Public methodTake Take n records
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUnion Union records
Public methodWhere Where clause
Top
Extension Methods
 NameDescription
Public Extension MethodApplyResultInstructions Apply result instructions
(Defined by QueryControlUtility)
Public Extension MethodAsResultSet 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 MethodIsNullOrEmpty Returns true if the IList is null or has no elements
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also