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