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