Exemplo n.º 1
0
 public static void Seed(KasboekDbContext context)
 {
     if (!context.Instellingen.Any())
     {
         context.Instellingen.Add(
             new Instellingen
         {
             StandaardVanRekening = null
         });
         context.SaveChanges();
     }
 }
Exemplo n.º 2
0
 public static void Initialize(KasboekDbContext context)
 {
     Migrate(context);
     Seed(context);
 }