调整
This commit is contained in:
@@ -52,7 +52,7 @@ namespace WMS.Web.Repositories.Configuration
|
||||
|
||||
ent.HasMany(p => p.Details)
|
||||
.WithOne()
|
||||
.HasForeignKey(p => p.OutStockId)
|
||||
.HasForeignKey(p => p.FId)
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
});
|
||||
builder.Entity<OutStockDetails>(ent =>
|
||||
@@ -70,7 +70,7 @@ namespace WMS.Web.Repositories.Configuration
|
||||
|
||||
ent.HasMany(p => p.Details)
|
||||
.WithOne()
|
||||
.HasForeignKey(p => p.OutStockTaskId)
|
||||
.HasForeignKey(p => p.FId)
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
});
|
||||
builder.Entity<OutStockTaskDetails>(ent =>
|
||||
@@ -88,7 +88,7 @@ namespace WMS.Web.Repositories.Configuration
|
||||
|
||||
ent.HasMany(p => p.Details)
|
||||
.WithOne()
|
||||
.HasForeignKey(p => p.TakeStockId)
|
||||
.HasForeignKey(p => p.FId)
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
});
|
||||
builder.Entity<TakeStockDetails>(ent =>
|
||||
|
||||
Reference in New Issue
Block a user