Defining Navigation Properties
Build navigation properties for specific entity types based on the relationships defined in the associations.
Since a business partner can have many sales orders, you want to define a property for navigating from a BusinessPartner instance to its associated SalesOrder collection. See Navigation Properties for more information.
- Under the BusinessPartner Entity Type, double-click Navigation Properties.
- Click Append Row and enter
SalesOrders for the Name and select
BusinessPartner_SalesOrder for the Relationship Name.
- Under the SalesOrder entity type, double-click Navigation
Properties and click Append Row twice. Assign
the names BusinessPartner and Items to
the properties. Assign the relationship name
BusinessPartner_SalesOrder to the BusinessPartner property,
and SalesOrder_SalesOrderItem to the Items property.
- Save your project.