Merge branch 'EF2' of https://codefirst.iut.uca.fr/git/bastien.ollier/LOL into EF2
continuous-integration/drone/push Build is passing Details

EF2
nathan boileau 2 years ago
commit 72da7fa075

@ -86,9 +86,9 @@ namespace TestUnitaire
//context.Database.OpenConnection();
context.Database.EnsureCreated();
ChampionEntity chewie = new ChampionEntity {Id = 0, Name = "Chewbacca", Bio = "Zeus is the king of the gods." };
ChampionEntity yoda = new ChampionEntity {Id = 1, Name = "Yoda", Bio = "Zeus is the king of the gods." };
ChampionEntity ewok = new ChampionEntity { Id = 2, Name = "Ewok", Bio = "Zeus is the king of the gods." };
ChampionEntity chewie = new ChampionEntity { Name = "Chewbacca", Bio = "Zeus is the king of the gods." };
ChampionEntity yoda = new ChampionEntity { Name = "Yoda", Bio = "Zeus is the king of the gods." };
ChampionEntity ewok = new ChampionEntity {Name = "Ewok", Bio = "Zeus is the king of the gods." };
context.Champions.Add(chewie);

Loading…
Cancel
Save