Table of Contents

Struct ConfiguredConnectionScope<TConnection>

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

A ConnectionScope<TConnection> whose disposal is awaited as configured by ConfigureAwait(bool).

public readonly struct ConfiguredConnectionScope<TConnection> where TConnection : IDbConnection

Type Parameters

TConnection

The type of the connection, as the caller holds it.

Inherited Members

Remarks

The library never returns to a caller's context; whether to is the caller's choice at their own call site, as with ConfigureAwait(bool).

Methods

DisposeAsync()

Disposes the scope as DisposeAsync() does, awaited as configured.