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