DbInterception.Add(IDbInterceptor) Method

Definition

Registers a new IDbInterceptor to receive notifications. Note that the interceptor must implement some interface that extends from IDbInterceptor to be useful.

public static void Add (System.Data.Entity.Infrastructure.Interception.IDbInterceptor interceptor);
static member Add : System.Data.Entity.Infrastructure.Interception.IDbInterceptor -> unit
Public Shared Sub Add (interceptor As IDbInterceptor)

Parameters

interceptor
IDbInterceptor

The interceptor to add.

Applies to