当前位置:网站首页>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 实体之间的关系,如下图所示:

边栏推荐
- Taobao flag insertion remarks | logistics delivery interface
- Free testing of Taobao tmall API order and flag insertion remark interface
- Insmod prompt invalid module format
- Using docker for MySQL 8.0 master-slave configuration
- How to connect the API interface of Taobao open platform (super detailed)
- View and modify the MySQL data storage directory under centos7
- Pytoch monolayer bidirectional_ LSTM implements MNIST and fashionmnist data classification
- Rasa Chat Robot Tutorial (translation) (1)
- Compile kernel modules separately
- Taobao short video, why the worse the effect
猜你喜欢

SAP UI5 ObjectPageLayout 控件使用方法分享

Vonedao solves the problem of organizational development effectiveness

A few years ago, I outsourced for four years. Qiu Zhao felt that life was like this

Notes for preparation of information system project manager --- information knowledge

Making and using the cutting tool of TTF font library

Add a new cloud disk to Huawei virtual machine

SAP UI5 FlexibleColumnLayout 控件介绍

我在滴滴做开源

2021-12-21 transaction record

Taobao order interface | order flag remarks, may be the most stable and easy-to-use interface
随机推荐
Redis master-slave configuration and sentinel mode
Four common problems of e-commerce sellers' refund and cash return, with solutions
Taobao short video, why the worse the effect
RHCSA1
前几年外包干了四年,秋招感觉人生就这样了..
View and terminate the executing thread in MySQL
太方便了,钉钉上就可完成代码发布审批啦!
SAP UI5 DynamicPage 控件介绍
RHCSA4
Principle of universal gbase high availability synchronization tool in Nanjing University
Taobao flag insertion remarks | logistics delivery interface
深度长文探讨Join运算的简化和提速
Distributed cache architecture - cache avalanche & penetration & hit rate
Introduction to GNN
10 minute fitness method reading notes (2/5)
[cloud native] use of Nacos taskmanager task management
stm32和电机开发(从架构图到文档编写)
SAP self-development records user login logs and other information
How to connect the API interface of Taobao open platform (super detailed)
SAP UI5 视图里的 OverflowToolbar 控件