DbConnector.OpenConnectionAsync method

Opens the connection.

public abstract ValueTask<DbConnectionCloser> OpenConnectionAsync(
    CancellationToken cancellationToken = default)
parameter description
cancellationToken The cancellation token.

Return Value

An IDisposable that should be disposed when the connection should be closed.

See Also