Click or drag to resize

DataAccessAdapterCoreExecuteActionQueryAsync Method

Async variant of ExecuteActionQuery(IActionQuery) 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.7.0.0 (5.7.0)
Syntax
public virtual Task<int> ExecuteActionQueryAsync(
	IActionQuery queryToExecute,
	CancellationToken cancellationToken
)

Parameters

queryToExecute
Type: SD.LLBLGen.Pro.ORMSupportClassesIActionQuery
ActionQuery to execute.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

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

Implements

IDataAccessAdapterExecuteActionQueryAsync(IActionQuery, CancellationToken)
See Also