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)
Syntaxprotected DbCommand CreateCommand(
	string commandText,
	DbConnection connectionToUse
)
Protected Function CreateCommand ( 
	commandText As String,
	connectionToUse As DbConnection
) As DbCommand
Parameters
- commandText
 - Type: SystemString
The command text. - connectionToUse
 - Type: System.Data.CommonDbConnection
The connection to use. 
Return Value
Type: 
DbCommandready to use DbCommand object
RemarksWill create command using connection, if specified
See Also