public GeoDataSeeder(IGeoDbContextFactory contextFactory) { this.contextFactory = contextFactory ?? throw new ArgumentNullException(nameof(contextFactory)); this.seeder = new FileByLineDbContextSeeder <GeoDbContext>(this.contextFactory); this.dataFilesDirectoryPath = ConfigurationManager.AppSettings[AppSettingsKeys.DataFilesDirectoryName]; this.exceptions = new ConcurrentQueue <Exception>(); }
public GeoDbContextProvider(IGeoDbContextFactory contextFactory) { if (contextFactory == null) { throw new ArgumentNullException(nameof(contextFactory)); } this.contextFactory = contextFactory; }
public GeoDataInitializer(IGeoDbContextFactory contextFactory) : base(contextFactory) { }