DatabaseLogger.IDbConfigurationInterceptor.Loaded 方法

定义

在注册此记录器时,调用以在实体框架初始化期间开始日志记录。 形式的 IDbInterceptor

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
void IDbConfigurationInterceptor.Loaded(System.Data.Entity.Infrastructure.DependencyResolution.DbConfigurationLoadedEventArgs loadedEventArgs, System.Data.Entity.Infrastructure.Interception.DbConfigurationInterceptionContext interceptionContext);
Sub Loaded (loadedEventArgs As DbConfigurationLoadedEventArgs, interceptionContext As DbConfigurationInterceptionContext) Implements IDbConfigurationInterceptor.Loaded

参数

loadedEventArgs
DbConfigurationLoadedEventArgs

此侦听器镜像的事件的参数。

interceptionContext
DbConfigurationInterceptionContext

有关事件的上下文信息。

实现

属性

适用于