24 lines
611 B
C#
24 lines
611 B
C#
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace ApiPolo.Models.PMS_dbcontext
|
|
{
|
|
/// <summary></summary>
|
|
public class PMS_RAPP_NEW_DbContext : DbContext
|
|
{
|
|
/// <summary></summary>
|
|
public DbSet<Rapp_New>? Rapps { get; set; }
|
|
|
|
/// <summary></summary>
|
|
public PMS_RAPP_NEW_DbContext(DbContextOptions<PMS_RAPP_NEW_DbContext> options) : base(options)
|
|
{
|
|
}
|
|
|
|
/// <summary></summary>
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
modelBuilder.Entity<Rapp_New>().ToTable("RAPP_NEW");
|
|
}
|
|
}
|
|
}
|