In this chapter, I show you how to access related data directly and, once you have done this, how you can complete a relationship so that navigation can be performed in both directions between the objects in the relationship. This chapter focuses on one-to-many relationships, which are the easiest to create but which require care when performing queries or updating the database. In Chapter
16, I describe other types of data relationships that Entity Framework Core supports. Table
15-1 summarizes the chapter.
Table 15-1.Chapter Summary
Problem | Solution | Listing ... |
|---|