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.8.0.0 (5.8.21.0111)
Syntax protected 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
Remarks Will create command using connection, if specified
See Also