Facilitates automatically opening and closing a connection. Implements IDisposable so that the construct can be used with a Using construct.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public class ConnectionScope : IDisposable
Visual Basic
Public Class ConnectionScope _
	Implements IDisposable
Visual C++
public ref class ConnectionScope : IDisposable

Inheritance Hierarchy

System..::..Object
  DatabaseObjects..::..ConnectionScope

See Also