当前位置:网站首页>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 .
边栏推荐
- Halcon 模板匹配实战代码(一)
- Add a new cloud disk to Huawei virtual machine
- 跨平台(32bit和64bit)的 printf 格式符 %lld 输出64位的解决方式
- NLP engineer learning summary and index
- 946. Verify stack sequence
- A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this
- Research: data security tools cannot resist blackmail software in 60% of cases
- Distributed solution - distributed lock solution - redis based distributed lock implementation
- Kotlin流程控制、循环
- 自然语言处理系列(一)入门概述
猜你喜欢

RHCAS6

Simply take stock reading notes (3/8)

超高效!Swagger-Yapi的秘密

Iterator details in list... Interview pits

Introduction to the principle of DNS

RHCSA3

SAP SEGW 事物码里的 ABAP 类型和 EDM 类型映射的一个具体例子

Taobao order interface | order flag remarks, may be the most stable and easy-to-use interface

关于 SAP UI5 floating footer 显示与否的单步调试以及使用 SAP UI5 的收益

Install rhel8.2 virtual machine
随机推荐
Pinduoduo flag insertion remarks API
RHCSA3
946. Verify stack sequence
Simply take stock reading notes (3/8)
OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
A deep long article on the simplification and acceleration of join operation
DNS的原理介绍
RHCAS6
Reshape the power of multi cloud products with VMware innovation
10 minute fitness method reading notes (3/5)
非技术部门,如何参与 DevOps?
I met Tencent in the morning and took out 38K, which showed me the basic smallpox
SAP SEGW 事物码里的 Association 建模方式
解决 UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0xa2 in position 107
[Nacos cloud native] the first step of reading the source code is to start Nacos locally
What if wechat is mistakenly sealed? Explain the underlying logic of wechat seal in detail
函数传递参数小案例
超高效!Swagger-Yapi的秘密
Simply take stock reading notes (1/8)
Flume common commands and basic operations