次の方法で共有


ObjectContext.InterceptionContext プロパティ

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

このコンテキストに使用されている DbInterceptionContext を返します。

名前空間:  System.Data.Entity.Core.Objects
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Property InterceptionContext As DbInterceptionContext 
    Get 
    Friend Set
'使用
Dim instance As ObjectContext 
Dim value As DbInterceptionContext 

value = instance.InterceptionContext
public DbInterceptionContext InterceptionContext { get; internal set; }
public:
property DbInterceptionContext^ InterceptionContext {
    DbInterceptionContext^ get ();
    internal: void set (DbInterceptionContext^ value);
}
member InterceptionContext : DbInterceptionContext with get, internal set
function get InterceptionContext () : DbInterceptionContext 
internal function set InterceptionContext (value : DbInterceptionContext)

プロパティ値

型 : DbInterceptionContext

参照

参照

ObjectContext クラス

System.Data.Entity.Core.Objects 名前空間