using Microsoft.EntityFrameworkCore;
namespace ApiPolo.Models.Siet_dbcontext
{
///
public class SIET_COMMESSE_DESC_DbContext : DbContext
{
///
public DbSet? Commdesc { get; set; }
///
public SIET_COMMESSE_DESC_DbContext(DbContextOptions options) : base(options)
{
}
///
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity().ToTable("SIET2LAV_MAST");
modelBuilder.Entity().HasKey(table => new {
table.laserial,
table.latiplav
});
}
}
}