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