Click or drag to resize

DaoBaseExecuteActionQueryAsync Method

Async variant of ExecuteActionQuery(IActionQuery, ITransaction) Executes the passed in action query and, if not null, runs it inside the passed in transaction.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
public virtual Task<int> ExecuteActionQueryAsync(
	IActionQuery queryToExecute,
	ITransaction containingTransaction,
	CancellationToken cancellationToken
)

Parameters

queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIActionQuery
ActionQuery to execute.
containingTransaction
Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction if caller is added to a transaction, or null of not.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TaskInt32
execution result, which is the amount of rows affected (if applicable)

Implements

IDaoExecuteActionQueryAsync(IActionQuery, ITransaction, CancellationToken)
See Also