DbSpecificCreatorBaseCreateCommand Method (DbConnection) |
Creates a new command instance
Namespace: SD.LLBLGen.Pro.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public virtual DbCommand CreateCommand(
DbConnection connectionToUse
)
Public Overridable Function CreateCommand (
connectionToUse As DbConnection
) As DbCommand
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