Click or drag to resize

DaoBaseCallActionStoredProcedureAsync Method

Async variant of CallActionStoredProcedure(String, DbParameter, ITransaction) Calls the specified action stored procedure in the database. If a transaction is in progress, it will participate in that transaction.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public Task<int> CallActionStoredProcedureAsync(
	string storedProcedureToCall,
	DbParameter[] parameters,
	ITransaction transaction,
	CancellationToken cancellationToken
)

Parameters

storedProcedureToCall
Type: SystemString
Stored procedure to call
parameters
Type: System.Data.CommonDbParameter
array of parameters to pass
transaction
Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
The transaction.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TaskInt32
the number of rows affected.

Implements

IDaoCallActionStoredProcedureAsync(String, DbParameter, ITransaction, CancellationToken)
See Also