Click or drag to resize

MappedStatefulQueryResultSetTData Class

Represents a stateful result set
Inheritance Hierarchy
SystemObject
  SanteDB.OrmLite.MappedResultSetsMappedQueryResultSetTData
    SanteDB.OrmLite.MappedResultSetsMappedStatefulQueryResultSetTData

Namespace: SanteDB.OrmLite.MappedResultSets
Assembly: SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 3.0.2081-alpha+d0a78774d3f97b9193d2ae2fef6d129ea9f29519
Syntax
public class MappedStatefulQueryResultSet<TData> : MappedQueryResultSet<TData>, 
	IDisposable

Type Parameters

TData

[Missing <typeparam name="TData"/> documentation for "T:SanteDB.OrmLite.MappedResultSets.MappedStatefulQueryResultSet`1"]

The MappedStatefulQueryResultSetTData type exposes the following members.

Properties
 NameDescription
Public propertyElementType Gets the types of elements which can be filtered and/or manipulated in the collection
(Inherited from MappedQueryResultSetTElement)
Protected propertyProvider Get the provider for this set
(Inherited from MappedQueryResultSetTElement)
Protected propertyStateKeyName State key name
(Inherited from MappedQueryResultSetTElement)
Top
Methods
 NameDescription
Public methodAny Return true if there are any matching reuslts
(Overrides MappedQueryResultSetTElementAny)
Public methodAsStateful Creates a query set or loads the specified query set
(Overrides MappedQueryResultSetTElementAsStateful(Guid))
Protected methodCloneWith Clone this result set with the specified result set
(Overrides MappedQueryResultSetTElementCloneWith(IOrmResultSet))
Public methodCount Count the results
(Overrides MappedQueryResultSetTElementCount)
Public methodDispose Dispose of this object
(Inherited from MappedQueryResultSetTElement)
Public methodDistinct Adds distinct instruction
(Inherited from MappedQueryResultSetTElement)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExcept Except the results in this query set with those in another
(Inherited from MappedQueryResultSetTElement)
Public methodExecuteTDBModel Execute the specified SQL statement
(Inherited from MappedQueryResultSetTElement)
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 instance of results
(Inherited from MappedQueryResultSetTElement)
Public methodFirstOrDefault Get the first or default of the result
(Inherited from MappedQueryResultSetTElement)
Public methodGetEnumerator Flattens the object into an enumerator
(Inherited from MappedQueryResultSetTElement)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIntersect(ExpressionFuncTElement, Boolean) Intersect with another dataset
(Inherited from MappedQueryResultSetTElement)
Public methodIntersect(IQueryResultSet) Intersect the other result set - note this can only be of same type of set
(Inherited from MappedQueryResultSetTElement)
Public methodIntersect(IQueryResultSetTData) Union the query result set
(Overrides MappedQueryResultSetTElementIntersect(IQueryResultSetTElement))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOfTypeTType Return only those results in the result set which are of type TType
(Inherited from MappedQueryResultSetTElement)
Public methodOrderBy(Expression) Order by a generic expression
(Inherited from MappedQueryResultSetTElement)
Public methodOrderByTKey(ExpressionFuncTElement, TKey) Append the order by statements onto the specifed result set
(Inherited from MappedQueryResultSetTElement)
Public methodOrderByTKey(ExpressionFuncTData, TKey)
(Overrides MappedQueryResultSetTElementOrderByTKey(ExpressionFuncTElement, TKey))
Public methodOrderByDescending(Expression) Order by descending order
(Inherited from MappedQueryResultSetTElement)
Public methodOrderByDescendingTKey(ExpressionFuncTElement, TKey) Order result set by descending order
(Inherited from MappedQueryResultSetTElement)
Public methodOrderByDescendingTKey(ExpressionFuncTData, TKey)
(Overrides MappedQueryResultSetTElementOrderByDescendingTKey(ExpressionFuncTElement, TKey))
Protected methodPrepareResultSet Prepare the result set
(Overrides MappedQueryResultSetTElementPrepareResultSet(IOrmResultSet))
Public methodSelectTReturn(Expression) Non-generic select method
(Inherited from MappedQueryResultSetTElement)
Public methodSelectTReturn(ExpressionFuncTElement, TReturn) Select the specified objects from the database
(Inherited from MappedQueryResultSetTElement)
Public methodSelectTReturn(FuncTElement, TReturn) Select the specifed objects with a C# expression
(Inherited from MappedQueryResultSetTElement)
Public methodSingle Get only one object
(Inherited from MappedQueryResultSetTElement)
Public methodSingleOrDefault Get only one of the objects
(Inherited from MappedQueryResultSetTElement)
Public methodSkip Skip the specified number of elements
(Inherited from MappedQueryResultSetTElement)
Public methodTake Takes the number of objects from the result set
(Inherited from MappedQueryResultSetTElement)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUnion(ExpressionFuncTElement, Boolean) Union the results in this query set with those in another
(Inherited from MappedQueryResultSetTElement)
Public methodUnion(IQueryResultSet) Union the other result set - note this can only be of the same type of set
(Inherited from MappedQueryResultSetTElement)
Public methodUnion(IQueryResultSetTData) Union the query result set
(Overrides MappedQueryResultSetTElementUnion(IQueryResultSetTElement))
Public methodWhere(Expression) Non-generic version of where
(Inherited from MappedQueryResultSetTElement)
Public methodWhere(ExpressionFuncTElement, Boolean) Where clause for filtering on provider
(Inherited from MappedQueryResultSetTElement)
Top
Extension Methods
 NameDescription
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 MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also