Click or drag to resize
ConnectionContextEnsureRequestScope Method
Ensures the connection scope for current request.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
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: CMSConnectionScope
See Also