public EntityFrameworkCoreFeaturesStore Build() { var loggerFactory = new LoggerFactory(); var logger = loggerFactory.CreateLogger <EntityFrameworkCoreFeaturesStore>(); var dbContext = new StoreDbContext(_options, new StoreOptions()); var store = new EntityFrameworkCoreFeaturesStore(dbContext, logger); return(store); }
public EntityFrameworkCoreFeaturesStore Build() { var loggerFactory = new LoggerFactory(); var diagnostics = new EsquioEntityFrameworkCoreStoreDiagnostics(loggerFactory); var dbContext = new StoreDbContext(_options, new StoreOptions()); var store = new EntityFrameworkCoreFeaturesStore(dbContext, diagnostics); return(store); }