ConnectionContextEnsureRequestScope Method |
Ensures the connection scope for current request.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax public static CMSConnectionScope EnsureRequestScope(
string connectionString,
bool openConnection,
bool keepOpen
)
Parameters
- connectionString
- Type: SystemString
Connection string - openConnection
- Type: SystemBoolean
If true, the connection is opened right away - keepOpen
- Type: SystemBoolean
If true, the connection is kept open
Return Value
Type:
CMSConnectionScopeSee Also