This document describes creating Navigation Properties in the Service Builder project complying with OData V4.
The Entity Types include one or more Navigation Properties. Navigation Properties describe the navigation path between the relationship between two entity types. It is the property of an Entity that represents a link from the Entity to one or more related Entities.
You should have already created an OData V4 project and an Entity Type.
Fields |
Description |
---|---|
Name |
Enter a name for the Navigation Property |
Internal Name |
It is the internal name of the artifact. Internal Name is used by Gateway Runtime Framework to process a request internally. Maximum number of characters allowed in this field is 30. The name must start with an alphabetic character and must not contain special characters. |
Target Type |
The value of Target Type attribute can be either an Entity Type or collection of Entity Types. It determines the target for navigation. |
Collection and Nullable |
Collection and Nullable value define whether a navigation target is required for
Navigation Property.
|
On Delete Action |
On Delete Action describes the action the service
will take on related entities when the entity on
which the navigation property is defined is deleted.
|
Partner |
The value of Partner attribute must be a Navigation Property contained in the Entity Type specified in the Target Type attribute. This is to define a bi-directional relationship between current Navigational Property and Navigation Property mentioned in Partner attribute. |
After creating Navigation Properties, you can Define Referential Constraints.