Share via


RelationalConnection.DisposeDbConnectionAsync Method

Definition

Template method that by default calls DisposeAsync() but can be overridden by providers to make a different call instead.

protected virtual System.Threading.Tasks.ValueTask DisposeDbConnectionAsync ();
abstract member DisposeDbConnectionAsync : unit -> System.Threading.Tasks.ValueTask
override this.DisposeDbConnectionAsync : unit -> System.Threading.Tasks.ValueTask
Protected Overridable Function DisposeDbConnectionAsync () As ValueTask

Returns

Applies to