ApiManutenzioni/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_STO_RAPPDbContext.cs
2024-04-23 15:19:58 +02:00

24 lines
633 B
C#

using Microsoft.EntityFrameworkCore;
namespace ApiPolo.Models.Lift_web_dbcontext
{
/// <summary></summary>
public class LIFT_WEB_STO_RAPPDbContext : DbContext
{
/// <summary></summary>
public DbSet<Sto_Rapp>? StoRapp { get; set; }
/// <summary></summary>
public LIFT_WEB_STO_RAPPDbContext(DbContextOptions<LIFT_WEB_STO_RAPPDbContext> options) : base(options)
{
}
/// <summary></summary>
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<Sto_Rapp>().ToView("API_STO_RAPP");
}
}
}