PC SOFT

WINDEV的在线文档

  • Overview
  • Creating an association
  • Creating an association
  • Operations performed on an association
  • Duplicate an association
  • Deleting an association
  • Renaming an association
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
In a CDM (Conceptual Data Model), the associations are used to link the entities between themselves.

The data model editor allows you to easily create associations.

When generating the LDM from the CDM, the associations will automatically become files or links (according to the specified cardinalities).

Creating an association

Creating an association

To create an association:
  1. Select "Association .. New association". The description of the association is displayed.On the "概念数据模型" pane, in the "创建" group, expand "新建" and select "New association".
  2. Specify:
    • the name of the association. When the LDM is generated from the CDM, this name will be the logical name of the created data file if this association contains at least one property or belongs to a complex link.
    • the caption of the association, which briefly describes the purpose of the association.
    • the notes presenting the operating mode of the association.
  3. The association becomes the current association. The properties of this association can be described automatically.

Operations performed on an association

Duplicate an association

To duplicate/copy an association:
  1. Select the association to duplicate.
  2. Enable "Association .. Duplicate an association".Press CTRL C then CTRL V to copy the association.
  3. In the duplication window, specify the requested information and validate. The duplicated association is automatically created in the current CDM.

Deleting an association

To delete an association:
  1. Select the association to delete.
  2. Open the popup menu of the selected association (right mouse click).
  3. Select "Delete". The association is automatically deleted from the CDM. If relationships were pointing to this association, these relationships are also deleted.

Renaming an association

To rename an association:
  1. Select the association to rename.
  2. Eanble "Association .. General information". The description of the association is displayed.On the "概念数据模型" pane, in the "当前元素" group, click "描述".
  3. Modify the name of the association and validate the association description. The association is automatically renamed.