Click or drag to resize
DynamicQueryEngineBaseCreateCommand Method (String, DbConnection)
Creates a new DbCommand object and initializes it

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
protected DbCommand CreateCommand(
	string commandText,
	DbConnection connectionToUse
)

Parameters

commandText
Type: SystemString
The command text.
connectionToUse
Type: System.Data.CommonDbConnection
The connection to use.

Return Value

Type: DbCommand
ready to use DbCommand object
Remarks
Will create command using connection, if specified
See Also