Click or drag to resize
CMSConnectionScope Constructor (IDataConnection, Boolean)
Constructor. Ensures that all database connections during the live of this object will use the given connection.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public CMSConnectionScope(
	IDataConnection conn,
	bool openConnection
)

Parameters

conn
Type: CMS.DataEngineIDataConnection
Connection to use within all database operations. If null new connection is created
openConnection
Type: SystemBoolean
If true, opens the connection
See Also