DbInterception.Add(IDbInterceptor) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework