public DefaultDbContextFactory(EntityFrameworkDbContextFactory entityFrameworkDbContextFactory, Lazy <IEnumerable <IDbContextFactoryEventHandler> > dbContextFactoryEventHandlers) { _entityFrameworkDbContextFactory = entityFrameworkDbContextFactory; _dbContextFactoryEventHandlers = dbContextFactoryEventHandlers; Logger = NullLogger.Instance; }
public DefaultDbContextFactory(EntityFrameworkDbContextFactory entityFrameworkDbContextFactory, Lazy<IEnumerable<IDbContextFactoryEventHandler>> dbContextFactoryEventHandlers) { _entityFrameworkDbContextFactory = entityFrameworkDbContextFactory; _dbContextFactoryEventHandlers = dbContextFactoryEventHandlers; Logger = NullLogger.Instance; }