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