Click or drag to resize
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.3.0.0 (5.3.0)
Syntax
public virtual DbCommand CreateCommand(
	DbConnection connection,
	string query
)

Parameters

connection
Type: System.Data.CommonDbConnection
The connection.
query
Type: SystemString
The query.

Return Value

Type: DbCommand
ready to use command
See Also