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.
14 lines
338 B
14 lines
338 B
using System;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace EFLib
|
|
{
|
|
public class LolContext : DbContext, IDisposable
|
|
{
|
|
public DbSet<ChampionEntity> Champions { get; set; }
|
|
|
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) => optionsBuilder.UseSqlite("Data Source=oiseaux.db");
|
|
}
|
|
}
|
|
|