Click or drag to resize
DataAccessCoreImplCallActionStoredProcedureAsync 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.SelfServicingSpecific
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public 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.

Implements

IDataAccessCoreCallActionStoredProcedureAsync(String, DbParameter, CancellationToken)
See Also