Files
Apollon/Apollon.EntityFramework/ApplicationDBContext.cs
2022-11-11 01:56:15 +01:00

20 lines
516 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<CompetitionDto> Competition { get; set; }
}
}