Click or drag to resize

IDaoCallActionStoredProcedureAsync 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.5.0.0 (5.5.18.1019)
Syntax
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.
See Also