共用方式為


DbCommandInterceptionContext<TResult>.SuppressExecution 方法

定義

防止在作業執行之前呼叫 時執行作業。

public void SuppressExecution ();
member this.SuppressExecution : unit -> unit
Public Sub SuppressExecution ()

例外狀況

如果在作業已經執行之後呼叫此方法,則會擲回 。

適用於