using Microsoft.EntityFrameworkCore; namespace ApiPolo.Models.Gitoga_dbcontext { /// public class GITSR_CHIUSURE_Dbcontext : DbContext { /// public DbSet? Chiusure { get; set; } /// public GITSR_CHIUSURE_Dbcontext(DbContextOptions options) : base(options) { } /// protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity().ToView("API_CHIUSURE"); } } }