using Microsoft.EntityFrameworkCore;
namespace ApiSoftway.Models.Gesa_DbContext
{
public class GESA_CONSEGNE_M_DbContext : DbContext
{
///
public DbSet? Cons { get; set; }
///
public GESA_CONSEGNE_M_DbContext(DbContextOptions options) : base(options)
{
}
///
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity().ToTable("GESASMOVIB_m");
modelBuilder.Entity().HasKey(table => new {
table.Pisergir
});
}
}
}