using EfCoreMigration.Models;
using Microsoft.EntityFrameworkCore;

namespace EfCoreMigration.Data
{
    public class SportContext : DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder options)
            => options.UseSqlite("Data Source=Sport.db");

        public DbSet<Atleet> Atleten { get; set; }
        public DbSet<Evenement> Evenementen { get; set; }
    }
}
