DaoBase.GetMultiAsync 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.ORMSupportClasses.ITransaction
A containing transaction, if caller is added to a transaction, or null if not. - entityFactoryToUse
- Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityFactory
The EntityFactory to use when creating entity objects during a GetMulti() call. - parameters
- Type: SD.LLBLGen.Pro.ORMSupportClasses.QueryParameters
The parameters. - cancellationToken
- Type: System.Threading.CancellationToken
The cancellation token.
Return Value
Type:
Task<Boolean>
true if succeeded, false otherwise
ExceptionsException | Condition |
---|
ArgumentNullException | parameters |
See Also