public EventLogExportMasterTests() { string configFilePath = GetConfigFile(); _settings = new CommonTestSettings( configFilePath, new EventLogPostgreSQLActions()); _optionsBuilder = new DbContextOptionsBuilder <EventLogContext>(); _optionsBuilder.UseNpgsql(_settings.ConnectionString); using (EventLogContext context = EventLogContext.Create(_optionsBuilder.Options, _settings.DBMSActions)) context.Database.EnsureDeleted(); }
public EventLogExportMasterTests() { string configFilePath = GetConfigFile(); _settings = new CommonTestSettings(configFilePath, null); }