Click or drag to resize

IDataAccessCoreCallActionStoredProcedureAsync Method

Async variant of CallActionStoredProcedure(String, DbParameter) 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.11.0.0 (5.11.23.1114)
Syntax
Task<int> CallActionStoredProcedureAsync(
	string storedProcedureToCall,
	DbParameter[] parameters,
	CancellationToken cancellationToken
)

Parameters

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

Return Value

Type: TaskInt32
the number of rows affected.
See Also