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.5.0.0 (5.5.18.1019)
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