ajout table player + creation bdd sqLite
continuous-integration/drone/push Build is failing Details

EF
Maxence LANONE 2 years ago
parent 159f96a028
commit c30ad0852f

@ -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();
}

Loading…
Cancel
Save