Facilitates automatically opening and closing a connection.
Implements IDisposable so that the construct can be used with a Using construct.
Namespace: DatabaseObjectsAssembly: 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 |