当前位置:网站首页>Association modeling method in SAP segw transaction code
Association modeling method in SAP segw transaction code
2022-07-05 12:54:00 【Wang Zixi】
Association Models are used to describe OData Different in the model Entity Type The relationship between .
Let's take a concrete example :
Principal Entity( The main body ): representative association Leading end of .
Cardinality( base ): Specify the relationship between the principal entity type and the dependent entity type . Press F4 Or click to select .
The multiplicity of associations is as follows :
- 0: 0 . .1: There is only one instance , It is also allowed to 0.
- 1: One-to-one relationship . Only one is allowed at any time association example .
- N: 1 . . n: One-to-many relation . One or more instances can appear .
- M:0 . .n: Zero to multiple relationships . There can be zero or more instances .
For reference constraints (referential constraints
) Specify the following parameters , The purpose is to set each key of the entity type , An attribute associated with a dependent entity type :
- Body key (Principal key): Press F4 Select a key attribute in the entity type .
- Dependency property (Dependent property): Press F4 Select the attribute that specifies the dependent entity type .
Referential Constraints An example of :
Reference constraints (Referential Constraints) Can be used to specify 1:1 or 1:n Associated foreign key relationships .
Association Set Group a series of related instances , Be similar to Entity Set Grouping entity type instances . therefore , It depends on the respective entity types associated with the underlying , Specify the relationship between two entity sets .
Suppose there is one based on entity type Author and Book Of 1:n association Author_To_Books
, There may be one Association Set WrittenBy
, be used for Entity Set Authors and Books, And the other one Association Set FictionWrittenBy, be used for Entity Set FictionAuthors and FictionBooks.
It means , If you follow Authors Feed Navigation links for items , It will generate Books Feed, And follow FictionAuthors Feed Links to items , Will generate FictionBooks summary .
Although both Structurally equal
, Because they are based on the same entity type , But it has different semantics , And may contain a different number of entries .
边栏推荐
- Introduction to the principle of DNS
- NFT: how to make money with unique assets?
- A possible investment strategy and a possible fuzzy fast stock valuation method
- 以VMware创新之道,重塑多云产品力
- Kotlin变量
- Rasa Chat Robot Tutorial (translation) (1)
- SAP SEGW 事物码里的 ABAP 类型和 EDM 类型映射的一个具体例子
- 从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
- #yyds干货盘点#js截取文件后缀名
- 奔跑,开路
猜你喜欢
Tips and tricks of image segmentation summarized from 39 Kabul competitions
从39个kaggle竞赛中总结出来的图像分割的Tips和Tricks
2021.12.16-2021.12.20 empty four hand transaction records
Transactions from January 14 to 19, 2022
OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
Vonedao solves the problem of organizational development effectiveness
SAP UI5 DynamicPage 控件介绍
Lepton 无损压缩原理及性能分析
CVPR 2022 | 基于稀疏 Transformer 的单步三维目标识别器
SAP UI5 视图里的 OverflowToolbar 控件
随机推荐
Taobao order amount check error, avoid capital loss API
Comprehensive upgrade of Taobao short video photosynthetic platform
【云原生】Nacos中的事件发布与订阅--观察者模式
Kotlin流程控制、循环
Insmod prompt invalid module format
Simply take stock reading notes (4/8)
JXL notes
关于 SAP UI5 floating footer 显示与否的单步调试以及使用 SAP UI5 的收益
How can non-technical departments participate in Devops?
Volatile instruction rearrangement and why instruction rearrangement is prohibited
Compilation principle reading notes (1/12)
What is the difference between Bi software in the domestic market
《信息系统项目管理师》备考笔记---信息化知识
2021.12.16-2021.12.20 empty four hand transaction records
10 minute fitness method reading notes (3/5)
insmod 提示 Invalid module format
stirring! 2022 open atom global open source summit registration is hot!
OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
Lepton 无损压缩原理及性能分析
Leetcode20. Valid parentheses