diff --git a/Sources/Tests/DbConsole/Program.cs b/Sources/Tests/DbConsole/Program.cs index 39b4675..c406084 100644 --- a/Sources/Tests/DbConsole/Program.cs +++ b/Sources/Tests/DbConsole/Program.cs @@ -11,10 +11,21 @@ PlayerEntity p1 = new PlayerEntity NbPoints = 0 }; +PlayerEntity p2 = new PlayerEntity +{ + Pseudo = "Theo", + NbWin = 0, + NbPlayed = 0, + MaxZone = 0, + MaxPoints = 0, + NbPoints = 0 +}; + using (var context = new SQLiteContext()) { Console.WriteLine("Create and Insert new Champion"); context.Add(p1); + context.Add(p2); context.SaveChanges(); } diff --git a/Sources/Tests/DbConsole/projet.Champions.db b/Sources/Tests/DbConsole/projet.Champions.db index a73a116..bcf7203 100644 Binary files a/Sources/Tests/DbConsole/projet.Champions.db and b/Sources/Tests/DbConsole/projet.Champions.db differ