当前位置:网站首页>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 .
边栏推荐
- 《信息系统项目管理师》备考笔记---信息化知识
- DNS的原理介绍
- JSON parsing error special character processing (really speechless... Troubleshooting for a long time)
- 我在滴滴做开源
- 研究:数据安全工具在 60% 的情况下无法抵御勒索软件
- Common commands and basic operations of Apache Phoenix
- 10 minute fitness method reading notes (3/5)
- mysql拆分字符串做条件查询
- Flume common commands and basic operations
- Setting up sqli lab environment
猜你喜欢
随机推荐
关于 SAP UI5 floating footer 显示与否的单步调试以及使用 SAP UI5 的收益
Using MySQL in docker
Didi open source Delta: AI developers can easily train natural language models
SAP UI5 ObjectPageLayout 控件使用方法分享
《信息系统项目管理师》备考笔记---信息化知识
Rasa Chat Robot Tutorial (translation) (1)
SAP SEGW 事物码里的 ABAP Editor
RHCSA4
Notes for preparation of information system project manager --- information knowledge
SAP SEGW 事物码里的导航属性(Navigation Property) 和 EntitySet 使用方法
Setting up sqli lab environment
Taobao short videos are automatically released in batches without manual RPA open source
I met Tencent in the morning and took out 38K, which showed me the basic smallpox
How to connect the API interface of Taobao open platform (super detailed)
Compilation principle reading notes (1/12)
Super efficient! The secret of swagger Yapi
跨平台(32bit和64bit)的 printf 格式符 %lld 输出64位的解决方式
Taobao flag insertion remarks | logistics delivery interface
Kotlin流程控制、循环
实现 1~number 之间,所有数字的加和









