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