Beispiel #1
0
 protected override void OnModelCreating(ModelBuilder modelBuilder)
 {
     modelBuilder.Entity <Owner>().HasData(DbSeeder.GenerateOwners().ToArray());
     modelBuilder.Entity <Card>().HasData(DbSeeder.GenerateCards().ToArray());
 }