Click or drag to resize

DbSpecificCreatorBaseCreateCommand Method (DbConnection)

Creates a new command instance

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public virtual DbCommand CreateCommand(
	DbConnection connectionToUse
)

Parameters

connectionToUse
Type: System.Data.CommonDbConnection
The connection to use. If not null, the connection is used to create a command instance, otherwise the factory

Return Value

Type: DbCommand
Ready to use command instance

Implements

IDbSpecificCreatorCreateCommand(DbConnection)
See Also