After you have successfully imported your data
model file, you can view and edit the properties of the pre-defined entity types you have
imported.
Process
- Expand the Data Model folder in the tree view of the project
you have created and navigate to the Entity Types
subfolder.
- Expand the node for the SalesOrder entity
type and double-click the Properties subfolder to display the
properties of this entity type in the mass maintenance view.
- View the properties for this entity type and note that the
SalesOrderID is specified as being a key
field.
- To edit the existing properties, choose Edit.
- Select the Currency node and select the
checkbox to indicate that this is also a key field in the data model.
- Change the properties for Currency by
deselecting the Deletable checkbox. This means that this field
can no longer be deleted at runtime.
- 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.
- Choose Save to save the changes you have made to the entity
type's properties.
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.