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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework