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