共用方式為


RelationalConnection.DisposeDbConnection 方法

定義

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

protected virtual void DisposeDbConnection ();
abstract member DisposeDbConnection : unit -> unit
override this.DisposeDbConnection : unit -> unit
Protected Overridable Sub DisposeDbConnection ()

適用於