Multiplicity Property
Version: Available or changed with runtime version 6.3.
Specify the multiplicity of the part.
Applies to
- Page Part
Property Value
Value | Available or changed with | Description |
---|---|---|
ZeroOrOne | runtime version 6.3 | Zero or one entity |
Many | runtime version 6.3 | Any number of entities. |
Syntax
part(carModels; "API Car Model")
{
Caption = 'Car Models';
Multiplicity = Many;
EntityName = 'carModel';
EntitySetName = 'carModels';
SubPageLink = "Brand Id" = Field(SystemId);
}
part(vendor; "API Vendor")
{
Caption = 'Vendor';
Multiplicity = ZeroOrOne;
EntityName = 'vendor';
SubPageLink = "id" = Field(SystemId);
}
Remarks
This property is used on page parts on API pages. For more information, see API Page Type. By default multiplicity for parts is defined as 1:N. For more in-depth examples and information, see Developing a Custom API.
See Also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈