CMSConnectionScope Constructor (IDataConnection, Boolean) |
Note: This API is now obsolete.
Constructor. Ensures that all database connections during the live of this object will use the given connection.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax [ObsoleteAttribute("Use constructor CMSConnectionScope(IDataConnection), followed by an Open() call if necessary.")]
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