加字段
This commit is contained in:
parent
1236187d73
commit
9a7512cd6e
@ -26,7 +26,8 @@ namespace APT.BaseData.Data.Mapping.FM
|
||||
builder.HasOne(t => t.Nav_Person).WithMany().HasForeignKey(t => t.PERSON_ID).IsRequired(false)
|
||||
.OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ChargeUser).WithMany().HasForeignKey(t => t.CHARGEUSER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Ignore(t => t.PARENT_CODE);
|
||||
builder.HasOne(t => t.Nav_Unit).WithMany().HasForeignKey(t => t.PRODUCTION_UNIT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Ignore(t => t.PARENT_CODE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user