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.

19 lines
419 B

// See https://aka.ms/new-console-template for more information
using DataManagers;
using Model;
Console.WriteLine("Hello, World!");
using (var db = new DbDataManager(new EFLib.LolContext()))
{
await db.Context.Database.EnsureCreatedAsync();
IEnumerable<Champion?> champions = await db.ChampionsMgr.GetItems(0, 10);
foreach (Champion c in champions)
{
Console.WriteLine(c.Name);
}
}