Click or drag to resize

DBDriverBaseCreateStoredProcCallCommand Method (DbConnection, String)

Creates a new command with the stored procedure call as the command text and the connection object passed in as its connection. It sets the command timeout to the static command time set in the DDDriverbase class.

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public DbCommand CreateStoredProcCallCommand(
	DbConnection connection,
	string storedProcedureToCall
)

Parameters

connection
Type: System.Data.CommonDbConnection
The connection.
storedProcedureToCall
Type: SystemString
The stored procedure to call.

Return Value

Type: DbCommand
ready to use command
See Also