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

24 lines
628 B
C#

using Microsoft.EntityFrameworkCore;
namespace ApiPolo.Models.Lift_web_dbcontext
{
/// <summary></summary>
public class LIFT_WEB_RAPP_NEWDbContext : DbContext
{
/// <summary></summary>
public DbSet<Rapp_New>? Rapps { get; set; }
/// <summary></summary>
public LIFT_WEB_RAPP_NEWDbContext(DbContextOptions<LIFT_WEB_RAPP_NEWDbContext> options) : base(options)
{
}
/// <summary></summary>
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<Rapp_New>().ToTable("RAPP_NEW");
}
}
}