Click or drag to resize
AbstractDatabaseAbstracterGetCommand Method (Boolean)
Creates a new IDbCommand and attaches it to a database connection. If the abstracter is in transaction mode, and openConnection is false, the connection used is the transaction connection. Else, a new connection is used.

Namespace: Activsoft.Engine.Db
Assembly: Activsoft.Engine (in Activsoft.Engine.dll) Version: 6.0.0.0
Syntax
public virtual IDbCommand GetCommand(
	bool openConnection
)

Parameters

openConnection
Type: SystemBoolean
if set to true [open connection].

Return Value

Type: IDbCommand
an IDbCommand ready to use on an open connection

Implements

IDatabaseAbstracterGetCommand(Boolean)
See Also