当前位置:网站首页>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 实体之间的关系,如下图所示:
边栏推荐
- mysql拆分字符串做条件查询
- 2021-12-21 transaction record
- JDBC -- use JDBC connection to operate MySQL database
- Comprehensive upgrade of Taobao short video photosynthetic platform
- Didi open source Delta: AI developers can easily train natural language models
- Distributed solution - distributed lock solution - redis based distributed lock implementation
- SAP UI5 视图里的 OverflowToolbar 控件
- What is the difference between Bi software in the domestic market
- Oppo Xiaobu launched Obert, a large pre training model, and promoted to the top of kgclue
- 跨平台(32bit和64bit)的 printf 格式符 %lld 输出64位的解决方式
猜你喜欢
你的下一台电脑何必是电脑,探索不一样的远程操作
Simply take stock reading notes (2/8)
Simply take stock reading notes (3/8)
Taobao short video, why the worse the effect
【云原生】Nacos-TaskManager 任务管理的使用
Tips and tricks of image segmentation summarized from 39 Kabul competitions
石臻臻的2021总结和2022展望 | 文末彩蛋
自然语言处理系列(一)入门概述
SAP UI5 DynamicPage 控件介绍
Preliminary exploration of basic knowledge of MySQL
随机推荐
Sqoop import and export operation
Comprehensive upgrade of Taobao short video photosynthetic platform
Neural network of PRML reading notes (1)
Four common problems of e-commerce sellers' refund and cash return, with solutions
End to end neural network
Making and using the cutting tool of TTF font library
OPPO小布推出预训练大模型OBERT,晋升KgCLUE榜首
Distributed cache architecture - cache avalanche & penetration & hit rate
跨平台(32bit和64bit)的 printf 格式符 %lld 输出64位的解决方式
Pytoch uses torchnet Classerrormeter in meter
Pytorch two-layer loop to realize the segmentation of large pictures
Redis master-slave configuration and sentinel mode
Preliminary exploration of basic knowledge of MySQL
GPON technical standard analysis I
Install rhel8.2 virtual machine
以VMware创新之道,重塑多云产品力
Kotlin process control and circulation
Introduction to relational model theory
Using MySQL in docker
Taobao flag insertion remarks | logistics delivery interface