Click or drag to resize

IDbSpecificCreatorCreateCommand 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.10.0.0 (5.10.0)
Syntax
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
See Also