You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
365 B
17 lines
365 B
using Entities;
|
|
using Shared;
|
|
|
|
ChampionEntity imri = new()
|
|
{
|
|
Name = "Imri Cartel",
|
|
Bio = "Fou Furieux",
|
|
Class = ChampionClass.Assassin
|
|
};
|
|
using (var context = new LolDbContext(null))
|
|
{
|
|
// Crée des nounours et les insère dans la base
|
|
Console.WriteLine("Creates and inserts new Champion");
|
|
context.Add(imri);
|
|
context.SaveChanges();
|
|
}
|