scoreboard-api/Server/Data/ServerDbContext.cs

11 lines
288 B
C#

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