scoreboard-api/Server/Data/ServerDbContext.cs
2022-07-16 13:20:35 +03:00

12 lines
346 B
C#

using DatabaseModels.Plain;
using Microsoft.EntityFrameworkCore;
namespace Server.Data;
public class ServerDbContext : DbContext
{
public ServerDbContext(DbContextOptions<ServerDbContext> options) : base(options) { }
public DbSet<User> Users { get; set; } = null!;
public DbSet<ScoreboardRecord> Scoreboard { get; set; } = null!;
}