24 lines
625 B
C#
24 lines
625 B
C#
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace ApiPolo.Models.Gitoga_dbcontext
|
|
{
|
|
/// <summary></summary>
|
|
public class GITSR_STO_RAPP_Dbcontext : DbContext
|
|
{
|
|
/// <summary></summary>
|
|
public DbSet<Sto_Rapp>? StoRapp { get; set; }
|
|
|
|
/// <summary></summary>
|
|
public GITSR_STO_RAPP_Dbcontext(DbContextOptions<GITSR_STO_RAPP_Dbcontext> options) : base(options)
|
|
{
|
|
}
|
|
|
|
/// <summary></summary>
|
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
|
{
|
|
modelBuilder.Entity<Sto_Rapp>().ToView("API_STO_RAPP");
|
|
}
|
|
}
|
|
}
|