Closes the connection when disposed.
public abstract class DbConnectionCloser : IAsyncDisposable, IDisposable
name | description |
---|---|
abstract Dispose() | Closes the connection. |
abstract DisposeAsync() | Closes the connection. |
name | description |
---|---|
DbConnectionCloser() | The default constructor. |