DbInterceptionContext.WithObjectContext(ObjectContext) メソッド

定義

指定した を追加して、このインターセプト コンテキスト内のすべてのコンテキスト情報を含む新しい DbInterceptionContext を作成します ObjectContext

public System.Data.Entity.Infrastructure.Interception.DbInterceptionContext WithObjectContext (System.Data.Entity.Core.Objects.ObjectContext context);
member this.WithObjectContext : System.Data.Entity.Core.Objects.ObjectContext -> System.Data.Entity.Infrastructure.Interception.DbInterceptionContext
Public Function WithObjectContext (context As ObjectContext) As DbInterceptionContext

パラメーター

context
ObjectContext

関連付けるコンテキスト。

戻り値

指定されたコンテキストに関連付けられた新しいインターセプト コンテキスト。

適用対象