Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2018). Working with Relationships Part 1. In: Pro Entity Framework Core 2 for ASP.NET Core MVC. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3435-8_15
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3435-8_15
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3434-1
Online ISBN: 978-1-4842-3435-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)