Show TOC

Editing PropertiesLocate this document in the navigation structure

Use

After you have successfully imported your data model file, you can view and edit the properties of the predefined entity types you have imported.

Process
  1. Expand the Data Model folder in the tree view of the project you have created and navigate to the Entity Types sub-folder.

  2. Expand the node for the SalesOrder entity type and double-click the Properties sub-folder to display the properties of this entity type in the mass maintenance view.

  3. View the properties for this entity type and note that the SalesOrderID is specified as being a key field.

  4. To edit the existing properties, click Edit.

  5. Select the Currency node and select the checkbox to indicate that this is also a key field in the data model.

  6. Change the properties for Currency by deselecting the Updatable checkbox. This means that this field can no longer be updated at runtime.

  7. Select the Sortable column and choose the Invert pushbutton to invert the current values and thereby deselect this checkbox for all properties simultaneously. This means that the properties will no longer be sortable at runtime.

  8. Choose Save to save the changes you have made to the entity type's properties.

If you want to copy and paste artifacts, within a project or between projects, you can do this in the mass maintenance view by choosing the relevant function from the toolbar: Copy to Clipboard, Cut to Clipboard, and Paste from Clipboard. Alternatively, if you are working in the tree view, you can use the keyboard shortcut keys Ctrl C and Ctrl V or right-click the relevant artifacts subfolder, for example, Entity Types and choose Copy from the context menu.

Result

You have changed the entity types properties by defining Currency as a key field and specifying that it cannot be deleted at runtime. You have also specified that the properties are no longer sortable.

More Information

To proceed with the next step of this cookbook, see Checking Project Consistency.

For more information about working with copy and paste, see Copying Data Model Artifacts.