scoreboard-api/Server/Data/ServerDbContext.cs
2022-07-17 14:32:53 +03:00

12 lines
355 B
C#

using DatabaseModels.InitialObjects;
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!;
}