CodeGen融合核心关系循环扩展
CodeGen融合核心關(guān)系循環(huán)擴(kuò)展
Expansion Tokens
<HARMONYCORE_RELATION_NAME>
插入當(dāng)前關(guān)系的名稱。關(guān)系名稱將自動(dòng)生成,但可以由Harmony Core自定義文件中CustomRelationNames屬性中的條目覆蓋。
替代形式:無(wú)
<HARMONYCORE_FROM_RELATION_NAME>
在指向當(dāng)前結(jié)構(gòu)的目標(biāo)結(jié)構(gòu)中插入關(guān)系屬性的名稱。該名稱將自動(dòng)生成,但可以由Harmony Core自定義文件中CustomRelationNames屬性中的條目覆蓋。
替代形式:無(wú)
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)
關(guān)系要求匹配數(shù)據(jù)必須存在于關(guān)系所針對(duì)的文件中,這樣本地字段中的數(shù)據(jù)才會(huì)被視為有效。默認(rèn)情況下,所有關(guān)系默認(rèn)要求“to”結(jié)構(gòu)文件中的匹配數(shù)據(jù),但這可以通過(guò)添加“RequiresMatch”來(lái)覆蓋:HarmonyCoreRelations部分的關(guān)系的自定義條目錯(cuò)誤。
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”.
總結(jié)
以上是生活随笔為你收集整理的CodeGen融合核心关系循环扩展的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: CodeGen融合核心扩展定制文件
- 下一篇: CodeGen CreateFile实用