Introduction
The Entity Types includes one or more Navigation
Properties. Navigation Properties describe the navigation path between the relationship of
an entity. It is the property of an Entity that represents a link from the Entity to one or
more related Entities. The Navigation Property is tied to an Association Type and allows
the navigation from one end of the Entity Type that declares the Navigation Property, to
the other related end. Navigation property is required to create a link from one entity to
another via an association.
Procedure
To create a Navigation Property for Entity Types, proceed as
follows:
Note Create Entity Types before creating Navigation Property. The
Navigation Property folder displays only when an entity type is added. See
Related Links for more information.
- Open the Service Builder.
- Expand the Data Model folder in the tree view of your
project.
- Expand the Entity Types folder to view the entity types.
- Expand the listed entity types to view the Navigation
Properties folder.
- Double click the Navigation Properties folder to open it in the
mass edit view.
- Click
(Display<-> Change) to switch to edit mode.
- Click
(Insert Row) to create a new association. A row will be added.
- Do the following in the mass edit view under Navigation
Properties :
|
Fields
|
To Do
|
|
Name
|
Enter a name for the navigation property
|
|
Relationship Name
|
Enter the Association Name in the Relationship Name field, or use
the input help to select the value (Mandatory field)
|
|
Label
|
Enter a label for the new Navigation Property
|
|
Label Text Reference
Editor
|
To define the label, use the Label Text Reference Editor. The Label
Text Reference Editor enables you to enter the reference type.
|
- Save the changes.
You have successfully created navigation property in your project.