ApiManutenzioni/ApiPolo/Models/Tedesco_dbcontext/TEDES_RAPP_NEWDbContext.cs
2024-01-23 11:59:33 +01:00

23 lines
615 B
C#

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