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