using EntityFrameworkLOL.Entities; using Microsoft.EntityFrameworkCore; namespace EntityFrameworkLOL.DBContexts { class SQLiteContext : DbContext { public DbSet Category { get; set; } public DbSet RuneFamily { get; set; } public DbSet Image { get; set; } public DbSet SkillType { get; set; } //public DbSet Skill { get; set; } public DbSet Skin { get; set; } public DbSet Rune { get; set; } public DbSet ChampionClass { get; set; } public DbSet RunePage { get; set; } public DbSet Champion { get; set; } protected override void OnConfiguring(DbContextOptionsBuilder options) => options.UseSqlite($"Data Source=DBLOL.db"); public SQLiteContext() { } public SQLiteContext(DbContextOptions options) : base(options) { } } }