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

23 lines
629 B
C#

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