DbConnectionCloser class

Closes the connection when disposed.

public abstract class DbConnectionCloser : IAsyncDisposable, IDisposable

Public Members

name description
abstract Dispose() Closes the connection.
abstract DisposeAsync() Closes the connection.

Protected Members

name description
DbConnectionCloser() The default constructor.

See Also