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