2018-10-06 13:05:38 +02:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
|
|
namespace LaDOSE.Entity.Context
|
2018-10-05 00:18:37 +02:00
|
|
|
|
{
|
|
|
|
|
|
public class LaDOSEDbContext : DbContext
|
|
|
|
|
|
{
|
|
|
|
|
|
public DbSet<Game> Game { get; set; }
|
2018-10-05 01:51:23 +02:00
|
|
|
|
public DbSet<ApplicationUser> ApplicationUser { get; set; }
|
2018-10-06 13:05:38 +02:00
|
|
|
|
public DbSet<Season> Season { get; set; }
|
2018-10-05 00:18:37 +02:00
|
|
|
|
|
|
|
|
|
|
public LaDOSEDbContext(DbContextOptions options) : base(options)
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.OnModelCreating(modelBuilder);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2018-10-06 13:05:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
2018-10-05 00:18:37 +02:00
|
|
|
|
}
|