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