DBDriverBaseCreateCommand Method (DbConnection, String) |
Creates a new command with the query set as command text and the connection passed in set as its connection. It sets the command timeout
to the static command time set in the DDDriverbase class
Namespace:
SD.LLBLGen.Pro.DBDriverCore
Assembly:
SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax public virtual DbCommand CreateCommand(
DbConnection connection,
string query
)
Public Overridable Function CreateCommand (
connection As DbConnection,
query As String
) As DbCommand
Parameters
- connection
- Type: System.Data.CommonDbConnection
The connection. - query
- Type: SystemString
The query.
Return Value
Type:
DbCommandready to use command
See Also