语言

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

有关事件的上下文信息。

实现

特性

适用于