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