using BusinessModels.Clientes; using Microsoft.EntityFrameworkCore; namespace Infra.Data.EfCore.MySql; public class AppDbContext : DbContext { public DbSet Clientes => Set(); public AppDbContext(DbContextOptions options) : base(options) { } protected override void OnModelCreating(ModelBuilder builder) { base.OnModelCreating(builder); builder.ApplyConfigurationsFromAssembly(typeof(AppDbContext).Assembly); } }