Beispiel #1
0
 /// <summary>
 /// Ensures the seeding of the database
 /// </summary>
 /// <param name="context">The context.</param>
 public static void EnsureSeeding(this AdoptersContext context)
 {
     if (context.AllMigrationsApplied())
     {
         EnsureSeedingExtension.Seed(context);
     }
 }