DBDriverBase.CreateCommand Method (String) |
Creates a new command with the query set as command text and a new connection object 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.8.0.0 (5.8.21.0208)
Syntax public DbCommand CreateCommand(
string query
)
Public Function CreateCommand (
query As String
) As DbCommand
Parameters
- query
- Type: System.String
The query.
Return Value
Type:
DbCommandready to use command
See Also