同步金蝶-代码处理提交
This commit is contained in:
@@ -187,6 +187,11 @@ namespace WMS.Web.Repositories.Configuration
|
||||
.WithOne()
|
||||
.HasForeignKey(p => p.Fid)
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
|
||||
ent.HasMany(p => p.ErpDetails)
|
||||
.WithOne()
|
||||
.HasForeignKey(p => p.Fid)
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
});
|
||||
builder.Entity<InStockDetails>(ent =>
|
||||
{
|
||||
@@ -200,6 +205,11 @@ namespace WMS.Web.Repositories.Configuration
|
||||
c => c.Aggregate(0, (a, v) => HashCode.Combine(a, v.GetHashCode())),
|
||||
c => (List<string>)c.ToList()));
|
||||
});
|
||||
builder.Entity<InStockErpDetails>(ent =>
|
||||
{
|
||||
ent.ToTable("t_wms_instock_erp_details");
|
||||
ent.HasKey(x => x.Id);
|
||||
});
|
||||
builder.Entity<InStockTotalDetails>(ent =>
|
||||
{
|
||||
ent.ToTable("t_wms_instock_total_details");
|
||||
|
||||
Reference in New Issue
Block a user