Click or drag to resize
DataAccessAdapterCoreCallActionStoredProcedureAsync 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.1.0.0 (5.1.0)
Syntax
public virtual 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