DaoBaseGetMulti Method (ITransaction, IEntityCollection, Int64, ISortExpression, IEntityFactory, IPredicate, IRelationCollection, Int32, Int32) |
Retrieves in the calling Collection object all Entity objects which match with the specified filter, formulated in the predicate or predicate expression definition, using the passed in relations to
construct the total query.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax public bool GetMulti(
ITransaction containingTransaction,
IEntityCollection collectionToFill,
long maxNumberOfItemsToReturn,
ISortExpression sortClauses,
IEntityFactory entityFactoryToUse,
IPredicate selectFilter,
IRelationCollection relations,
int pageNumber,
int pageSize
)
Public Function GetMulti (
containingTransaction As ITransaction,
collectionToFill As IEntityCollection,
maxNumberOfItemsToReturn As Long,
sortClauses As ISortExpression,
entityFactoryToUse As IEntityFactory,
selectFilter As IPredicate,
relations As IRelationCollection,
pageNumber As Integer,
pageSize As Integer
) As Boolean
Parameters
- containingTransaction
- Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction, if caller is added to a transaction, or null if not. - collectionToFill
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCollection
Collection to fill with the entity objects retrieved - maxNumberOfItemsToReturn
- Type: SystemInt64
The maximum number of items to return with this retrieval query.
If the used Dynamic Query Engine supports it, 'TOP' is used to limit the amount of rows to return.
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. - entityFactoryToUse
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactory
The EntityFactory to use when creating entity objects during a GetMulti() call. - 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:
Booleantrue if succeeded, false otherwise
Implements
IDaoGetMulti(ITransaction, IEntityCollection, Int64, ISortExpression, IEntityFactory, IPredicate, IRelationCollection, Int32, Int32)See Also