The Entity Editor allows you to edit the properties of an entity that belongs to your extension.
This editor is displayed when an entity is selected in the Multi-tree Navigator or in the Multi-tab Editor.
Set the Entity Identifier
The identifier is the attribute that uniquely identifies the rows of your entity. You simply have to do one of the following:
In the Entity editor, edit the Identifier property and select the attribute you want from the drop-down list;
In the Attributes table, right-click on the attribute you want and select the Set as Identifier option.
To manage entity attributes, see Attributes Editor.
Change the Entity Properties
You can change the properties of the entity at any time. Simply double-click in the entity in the Multi-tree navigator or select the action in the Multi-tab editor.
This button is enabled when this entity is imported from a database, and displays a report where you can check the original table definition and the corresponding entity definition. The following information is displayed:
Entity: Name of the entity and its status with the following syntax:
Entity <entity name>: <Entity status>
Database Connection: Name of the database connection and its Database Management System (DBMS). If the entity is imported without using a Database Connection this line is omitted. The syntax is as follows:
Database Connection <Database Connection Name> (<DBMS>)
Physical Table Name: Indicates the full name of the physical table associated with this entity.
Identifier: Name of the attribute that corresponds to the Primary Key, if any.
Attributes: Attributes of the entity created by the wizard. The Attribute syntax is as follows:
<attribute name> (<OutSystems data type> <- <Database data type>: <Attribute status>
Define Extension Entities | Multi-tree Navigator