当前位置:网站首页>SAP SEGW 事物码里的导航属性(Navigation Property) 和 EntitySet 使用方法
SAP SEGW 事物码里的导航属性(Navigation Property) 和 EntitySet 使用方法
2022-07-05 12:39:00 【汪子熙】
实体类型包括一个或多个导航属性。导航属性描述实体关系之间的导航路径。
它是一个实体的属性,表示从该实体到一个或多个相关实体的链接。
导航属性绑定到关联类型(association type),允许从声明导航属性的实体类型的一端(导航的数据源)导航到另一端相关的端。
导航属性是创建通过 association 从一个实体到另一个实体的链接所必需的。
在创建导航属性之前,需要首先创建实体类型和关联(association)。
导航属性文件夹仅在添加实体类型之后才会显示。
双击 SEGW 里的 Navigation Properties 文件夹,打开 mass edit view,能看到每个 navigation property 对应下列五列需要维护:


在 Service Builder 项目中使用实体集将实体类型的实例与派生自此特定实体类型的任何类型的实例组合在一起。
实体类型(Entity Type)描述数据结构,而实体集包含给定结构的实例(instance)。
右键单击“数据模型”文件夹,选择“创建”,然后选择“实体集”。另外,当右键单击实体集文件夹并选择创建时,可以创建一个新的实体集。打开“创建实体集”对话框。
如下图所示:

Requires filter checkbox 的含义:选中此复选框表示服务实现需要筛选器(filter)。如果选中此复选框,则不能直接访问实体集,并且不能在没有 $filter 表达式的情况下查询实体集。
Association
关联描述了两个或多个实体之间的关系,这种关系具有显式命名。
关联定义了参与实体类型之间的对等关系,可以在两端支持不同的 multiplicities, 比如 1 对多,多对1,N:M 等等。
关联的一个例子是 Customer 和 Order 实体之间的关系,如下图所示:

边栏推荐
- Notes for preparation of information system project manager --- information knowledge
- Reshape the power of multi cloud products with VMware innovation
- 石臻臻的2021总结和2022展望 | 文末彩蛋
- Add a new cloud disk to Huawei virtual machine
- How to connect the API interface of Taobao open platform (super detailed)
- Making and using the cutting tool of TTF font library
- Free testing of Taobao tmall API order and flag insertion remark interface
- Time conversion error
- SAP UI5 DynamicPage 控件介绍
- View and modify the MySQL data storage directory under centos7
猜你喜欢

RHCSA5

使用 jMeter 对 SAP Spartacus 进行并发性能测试

How to connect the API interface of Taobao open platform (super detailed)

Preliminary exploration of basic knowledge of MySQL

Taobao short video, why the worse the effect

Add a new cloud disk to Huawei virtual machine

RHCSA3

Taobao product details API | get baby SKU, main map, evaluation and other API interfaces

Iterator details in list... Interview pits

Taobao, pinduoduo, jd.com, Doudian order & Flag insertion remarks API solution
随机推荐
实战模拟│JWT 登录认证
Database connection pool & jdbctemplate
《信息系统项目管理师》备考笔记---信息化知识
DNS的原理介绍
Taobao flag insertion remarks | logistics delivery interface
Introduction to GNN
End to end neural network
Flume common commands and basic operations
RHCSA3
GNN(pytorch-geometric)
【云原生】Nacos中的事件发布与订阅--观察者模式
JSON parsing error special character processing (really speechless... Troubleshooting for a long time)
Research: data security tools cannot resist blackmail software in 60% of cases
Making and using the cutting tool of TTF font library
ActiveMQ installation and deployment simple configuration (personal test)
Compile kernel modules separately
GPON technical standard analysis I
Pytoch through datasets Imagefolder loads datasets directly from files
Kotlin流程控制、循环
2021-12-21 transaction record