© Adam Freeman 2018
Adam FreemanPro Entity Framework Core 2 for ASP.NET Core MVChttps://doi.org/10.1007/978-1-4842-3435-8_15

15. Working with Relationships Part 1

Adam Freeman1 
(1)
London, UK
 
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 ...

Get Pro Entity Framework Core 2 for ASP.NET Core MVC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.