using Microsoft.EntityFrameworkCore; namespace ApiPolo.Models.Sarom_dbcontext { /// public class SAROM_RAPPORTINIDbContext : DbContext { /// Rapportini public DbSet? rapp { get; set; } /// ConfigurazioniDbContext public SAROM_RAPPORTINIDbContext(DbContextOptions options) : base(options) { } /// OnModelCreating protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity().ToView("API_RAPPORTINI"); } } }