private static void initializeRussiaAndCIS(RoadFreightDbContext db) { if (db.RussiaAndCIS.Count() != 0) { return; } db.RussiaAndCIS.AddRange(russiaCIS); db.SaveChanges(); }
private static void initializeScandinavia(RoadFreightDbContext db) { if (db.Scandinavia.Count() != 0) { return; } db.Scandinavia.AddRange(scandinavia); db.SaveChanges(); }
private static void initializeBaltic(RoadFreightDbContext db) { if (db.Baltics.Count() != 0) { return; } db.Baltics.AddRange(baltic); db.SaveChanges(); }