PC SOFT

WINDEV的在线文档

  • Overview
  • Creating an entity
  • Operations that can be performed on an entity
  • Duplicating/Copying an entity
  • Deleting an entity
  • Renaming an entity
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
To group information according the MERISE method, entities must be created.

The data model editor allows you to easily create entities in a CDM (Conceptual Data Model).

When generating the LDM from the CDM, the entities will automatically become files.

Creating an entity
To create an entity:
  1. Select "Entity .. New entity". The description of the entity is displayed.On the "概念数据模型" pane, in the "创建" group, expand "新建" and select "New entity". The description of the entity is displayed.
  2. Specify:
    • the name of the entity. This name will be the logical name of the file created when the LDM is generated from the CDM.
    • the caption of the entity that summarizes the subject of the entity.
    • whether an "Automatic identifier" property must be defined in the entity. The value of this property is unique for each record and it is automatically calculated.
    • the notes that present the operating mode of the entity.
  3. The entity becomes the current entity. The properties of this entity can be described automatically.

Operations that can be performed on an entity

Duplicating/Copying an entity

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

Deleting an entity

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

Renaming an entity

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