using Microsoft.EntityFrameworkCore;


namespace EFlib
{
    internal class SqlServerContext : DbContext
    {
        /**** Attributs ****/
        public DbSet<EFChampion> Champions { get; set; }
        /**** Méthodes ****/
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer($"@\"Server=(localdb)\\mssqllocaldb;Database=projet.dbloulou.mdf;");
        }
    }
}
