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