CodeGen融合核心关系循环扩展
CodeGen融合核心關系循環擴展
Expansion Tokens
<HARMONYCORE_RELATION_NAME>
插入當前關系的名稱。關系名稱將自動生成,但可以由Harmony Core自定義文件中CustomRelationNames屬性中的條目覆蓋。
替代形式:無
<HARMONYCORE_FROM_RELATION_NAME>
在指向當前結構的目標結構中插入關系屬性的名稱。該名稱將自動生成,但可以由Harmony Core自定義文件中CustomRelationNames屬性中的條目覆蓋。
替代形式:無
Expressions
The relationship is a one-to-many relationship and a matching relationship is NOT defined in the opposite direction.
The relationship is a one-to-one relationship and a matching relationship is NOT defined in the opposite direction.
The relationship is a one-to-many relationship and a matching relationship IS defined in the opposite direction.
The relationship is a one-to-one relationship and a matching relationship IS defined in the opposite direction.
The relationship is a many-to-one relationship and a matching relationship IS defined in the opposite direction.
(deprecated)
關系要求匹配數據必須存在于關系所針對的文件中,這樣本地字段中的數據才會被視為有效。默認情況下,所有關系默認要求“to”結構文件中的匹配數據,但這可以通過添加“RequiresMatch”來覆蓋:HarmonyCoreRelations部分的關系的自定義條目錯誤。
The relationship targets one of multiple records (i.e. it is a one-to-many or one-to-many-to-one relationship).
The relationship targets a single record (i.e. it is a one-to-one, one-to-one-to-one or many-to-one relationship).
The ValidationMode property in the Harmony Core Customization file is set to a value of “None”.
The ValidationMode property in the Harmony Core Customization file is set to a value of “ValuePresent”.
The ValidationMode property in the Harmony Core Customization file is set to a value of “Always”.
The ValidationMode property in the Harmony Core Customization file is set to a value of “CustomCode”.
總結
以上是生活随笔為你收集整理的CodeGen融合核心关系循环扩展的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CodeGen融合核心扩展定制文件
- 下一篇: CodeGen CreateFile实用