PC SOFT

WINDEV的在线文档

  • Overview
  • Creating a relationship
  • Defining the cardinalities
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Overview
The relationships are used to link entities among themselves or to link associations to entities.

The data model editor allows you to easily create relationships.

When generating the LDM from the CDM, the relationships will automatically become links.

Creating a relationship
To create a relationship:
  1. Select "Entity .. Draw a relationship". The mouse cursor turns into a pen.On the "概念数据模型" pane, in the "创建" group, expand "新建" and select "Draw a relationship". The mouse cursor turns into a pen.
  2. Select:
    • the two entities to link.
    • the entity and the association to link.
  3. Define the cardinalities of the relationship.

Defining the cardinalities
To define the cardinalities:
  1. Select the relationship whose cardinalities must be defined.
  2. Select "Entity .. Information about the relationship".On the "概念数据模型" pane, in the "当前元素" group, click "描述".
  3. Choose the cardinality among the proposed ones.
  4. Validate the description of cardinalities.
See Cardinalities for more details.