DynamicQueryEngineBaseCreateStoredProcedureCommand Method |
Creates a DbCommand which is ready to be used to call the stored procedure specified.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax public virtual DbCommand CreateStoredProcedureCommand(
string storedProcedureToCall,
DbParameter[] parameters
)
Public Overridable Function CreateStoredProcedureCommand (
storedProcedureToCall As String,
parameters As DbParameter()
) As DbCommand
Parameters
- storedProcedureToCall
- Type: SystemString
Stored procedure to call. This name has to be setup correctly with the proper schema/catalog name overwrites
and catalog/schema/name wrapping characters. - parameters
- Type: System.Data.CommonDbParameter
array of parameters to specify
Return Value
Type:
DbCommandDbCommand setup for calling the stored procedure, using the parameters specified. No connection nor timeout nor transaction has been
setup yet for this DbCommand.
See Also