CMSConnectionScope Constructor (Boolean, Boolean) |
Empty constructor. Creates a new connection and ensures that all database connections during the live of this object will use that connection.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax public CMSConnectionScope(
bool newConnection = false,
bool openConnection = false
)
Parameters
- newConnection (Optional)
- Type: SystemBoolean
If true, creates a new connection - openConnection (Optional)
- Type: SystemBoolean
If true, opens the connection
See Also