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.4.0.0 (5.4.0)
Syntax public DbCommand CreateStoredProcCallCommand(
DbConnection connection,
string storedProcedureToCall
)
Public Function CreateStoredProcCallCommand (
connection As DbConnection,
storedProcedureToCall As String
) As DbCommand
Parameters
- connection
- Type: System.Data.CommonDbConnection
The connection. - storedProcedureToCall
- Type: SystemString
The stored procedure to call.
Return Value
Type:
DbCommandready to use command
See Also