Run the Edit page (display the Course Index page and click Edit on a course). The Course Index page is displayed with the updated course data.
When you edit an instructor record, you want to be able to update the instructor's office assignment. Now you'll enhance the Instructor Edit page by adding the ability to change course assignments using a group of check boxes, as shown in the following screen shot: The relationship between the navigation property.
If the number of courses were much greater, you would probably want to use a different method of presenting the data in the view, but you'd use the same method of manipulating navigation properties in order to create or delete relationships.
Note: The approach taken to edit instructor course data works well when there is a limited number of courses.
For collections that are much larger, a different UI and a different updating method would be required.
The following illustrations show the pages that you'll work with.
When a new course entity is created, it must have a relationship to an existing department.
You have now completed this introduction to working with related data.