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