Click or drag to resize

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.11.0.0 (5.11.23.1114)
Syntax
public Task<bool> GetMultiAsync(
	ITransaction containingTransaction,
	IEntityFactory entityFactoryToUse,
	QueryParameters parameters,
	CancellationToken cancellationToken
)

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
Exceptions
ExceptionCondition
ArgumentNullExceptionparameters
See Also