public static void SeedExistingDatabase() { using (UGFSeeder db = new UGFSeeder(false, new UGFContext())) { db.SeedClientStatuses(); db.SeedDaysOfWeek(); db.SeedLanguages(); db.SeedMealTypes(); db.SeedSuspendedReasons(); db.SeedTimeZones(); db.SeedUGTTexts(); db.SeedDefaultSchedules(); } }
public static void DropAndRecreateEntireDatabase() { using (UGFSeeder db = new UGFSeeder(true, new UGFContext())) { db.SeedClientStatuses(); db.SeedDaysOfWeek(); db.SeedLanguages(); db.SeedMealTypes(); db.SeedSuspendedReasons(); db.SeedTimeZones(); db.SeedUGTTexts(); db.SeedDefaultSchedules(); } }