DaoBaseGetMultiAsync Method |
Async variant of
GetMulti(ITransaction, IEntityFactory, QueryParameters).
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.12.0.0 (5.12.0)
Syntaxpublic Task<bool> GetMultiAsync(
ITransaction containingTransaction,
IEntityFactory entityFactoryToUse,
QueryParameters parameters,
CancellationToken cancellationToken
)
Public Function GetMultiAsync (
containingTransaction As ITransaction,
entityFactoryToUse As IEntityFactory,
parameters As QueryParameters,
cancellationToken As CancellationToken
) As Task(Of Boolean)
Parameters
- containingTransaction
- Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction, if caller is added to a transaction, or null if not. - entityFactoryToUse
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFactory
The EntityFactory to use when creating entity objects during a GetMulti() call. - parameters
- Type: SD.LLBLGen.Pro.ORMSupportClassesQueryParameters
The parameters. - cancellationToken
- Type: System.ThreadingCancellationToken
The cancellation token.
Return Value
Type:
TaskBoolean
true if succeeded, false otherwise
ExceptionsException | Condition |
---|
ArgumentNullException | parameters |
See Also