共用方式為


RelationalConnection.CloseDbConnectionAsync 方法

定義

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

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

傳回

適用於