ready for database
This commit is contained in:
19
Apollon.EntityFramework/TournamentsDBContext.cs
Normal file
19
Apollon.EntityFramework/TournamentsDBContext.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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 TournamentsDBContext : DbContext
|
||||
{
|
||||
public TournamentsDBContext(DbContextOptions options) : base(options)
|
||||
{
|
||||
}
|
||||
|
||||
public DbSet<TournamentDto> Tournaments { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user