DbInterception.Add(IDbInterceptor) Méthode

Définition

Inscrit un nouveau IDbInterceptor pour recevoir des notifications. Notez que l’intercepteur doit implémenter une interface qui s’étend de IDbInterceptor pour être utile.

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)

Paramètres

interceptor
IDbInterceptor

Intercepteur à ajouter.

S’applique à