Click or drag to resize

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.11.0.0 (5.11.23.1114)
Syntax
public virtual DbCommand CreateStoredProcedureCommand(
	string storedProcedureToCall,
	DbParameter[] parameters
)

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: DbCommand
DbCommand 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