次の方法で共有


DbInterception.Add メソッド

[This page is specific to the Entity Framework version 6.0 Beta. The latest version is available as the 'Entity Framework' NuGet package. For more information, see Entity Framework Releases and Versioning.]

名前空間:  System.Data.Entity.Infrastructure.Interception
アセンブリ:  EntityFramework (EntityFramework.dll)

構文

'宣言
Public Shared Sub Add ( _
    interceptor As IDbInterceptor _
)
'使用
Dim interceptor As IDbInterceptor 

DbInterception.Add(interceptor)
public static void Add(
    IDbInterceptor interceptor
)
public:
static void Add(
    IDbInterceptor^ interceptor
)
static member Add : 
        interceptor:IDbInterceptor -> unit
public static function Add(
    interceptor : IDbInterceptor
)

パラメーター

関連項目

参照

DbInterception クラス

System.Data.Entity.Infrastructure.Interception 名前空間