21 lines
573 B
C#
21 lines
573 B
C#
using Apollon.EntityFramework.DTOs;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Apollon.EntityFramework
|
|
{
|
|
public class ApplicationDbContext : DbContext
|
|
{
|
|
public ApplicationDbContext(DbContextOptions options) : base(options)
|
|
{
|
|
}
|
|
public DbSet<TournamentDto> Tournaments { get; set; }
|
|
public DbSet<NameListDto> NameList { get; set; }
|
|
public DbSet<CompetitionDto> Competition { get; set; }
|
|
}
|
|
}
|