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