DbCommandInterceptor.ScalarExecuted メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このメソッドは、 またはその非同期に対応する呼び出しが行われた後に呼び出 ExecuteScalar() されます。 Entity Framework で使用される結果は、 を設定 Resultすることで変更できます。
public virtual void ScalarExecuted(System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<object> interceptionContext);
abstract member ScalarExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
override this.ScalarExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
Public Overridable Sub ScalarExecuted (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Object))
パラメーター
- command
- DbCommand
実行中のコマンド。
- interceptionContext
- DbCommandInterceptionContext<Object>
呼び出しに関連付けられているコンテキスト情報。