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.6.0.0 (5.6.19.0117)
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