Click or drag to resize

OrmResultSetTData Class

Represents a result set from enumerable data
Inheritance Hierarchy
SystemObject
  SanteDB.OrmLiteOrmResultSetTData

Namespace:  SanteDB.OrmLite
Assembly:  SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax
public class OrmResultSet<TData> : IEnumerable<TData>, 
	IEnumerable, IOrmResultSet

Type Parameters

TData
The type of record this result set holds

The OrmResultSetTData type exposes the following members.

Properties
  NameDescription
Public propertyContext
Get the context
Public propertyStatement
Gets the SQL statement that this result set is based on
Top
Methods
  NameDescription
Public methodAny
Instructs the reader to count the number of records
Public methodCount
Instructs the reader to count the number of records
Public methodDistinct
Select distinct records
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFirst
Return the first object
Public methodFirstOrDefault
Return the first object
Public methodGetEnumerator
Get the enumerator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetMember
Get member information from lambda
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersect
Intersect the other result set
Public methodKeysT(Boolean)
Gets the specified keys from the object
Public methodKeysTKeyTable, T
Gets the specified keys from the specified object type
Public methodMaxT
Get the maximum value of the specifed column
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMinT
Get the maximum value of the specifed column
Public methodOrderBy
Instructs the reader to order by specified records
Public methodOrderByDescending
Instructs the reader to order by specified records
Public methodSelect(ExpressionFuncTData, Object)
Select the specified column
Public methodSelectT(ExpressionFuncTData, T)
Select the specified column
Public methodSkip
Instructs the reader to skip n records
Public methodTake
Instructs the reader to take n records
Public methodToSqlStatement
Convert to an SQL statement
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnion(IOrmResultSet)
Union of other result set with this
Public methodUnion(OrmResultSetTData)
Intersect the data
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 MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also