DaoBaseGetMultiAsDataTable Method (Int64, ISortExpression, IPredicate, IRelationCollection, Int32, Int32) |
Retrieves entities of the type this dao is for in a datatable which match the specified filter. It will always create a new connection to the database.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax public DataTable GetMultiAsDataTable(
long maxNumberOfItemsToReturn,
ISortExpression sortClauses,
IPredicate selectFilter,
IRelationCollection relations,
int pageNumber,
int pageSize
)
Public Function GetMultiAsDataTable (
maxNumberOfItemsToReturn As Long,
sortClauses As ISortExpression,
selectFilter As IPredicate,
relations As IRelationCollection,
pageNumber As Integer,
pageSize As Integer
) As DataTable
Parameters
- maxNumberOfItemsToReturn
- Type: SystemInt64
The maximum number of items to return with this retrieval query. When set to 0, no limitations are specified. - sortClauses
- Type: SD.LLBLGen.Pro.ORMSupportClassesISortExpression
The order by specifications for the sorting of the resultset. When not specified, no sorting is applied. - selectFilter
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
A predicate or predicate expression which should be used as filter for the entities to retrieve. - relations
- Type: SD.LLBLGen.Pro.ORMSupportClassesIRelationCollection
The set of relations to walk to construct to total query. - pageNumber
- Type: SystemInt32
The page number to retrieve. - pageSize
- Type: SystemInt32
The page size of the page to retrieve.
Return Value
Type:
DataTablea filled datatable if succeeded, false otherwise
Implements
IDaoGetMultiAsDataTable(Int64, ISortExpression, IPredicate, IRelationCollection, Int32, Int32)See Also