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