共用方式為


RelationalConnection.DisposeDbConnectionAsync 方法

定義

預設會呼叫 DisposeAsync() 但可由提供者覆寫的樣板方法,改為進行不同的呼叫。

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

傳回

適用於