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