using Microsoft.EntityFrameworkCore; using RecNet.Domain.Configuration; using RecNet.Domain.GameVersions; using RecNet.Domain.Profiles; namespace RecNet.Infrastructure.Persistence; public class DatabaseContext(DbContextOptions options) : DbContext(options) { public DbSet Profiles => Set(); public DbSet GameVersions => Set(); public DbSet ServerConfigs => Set(); protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.ApplyConfigurationsFromAssembly(typeof(DatabaseContext).Assembly); } }