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