Abstract
Entities usually are part of a bigger, interconnected object graph. They have references to other entities. A User holds references to its Posts, while a Post references a Category which references back to the User, who (in turn) sets up the Category, and so forth. As we will see, there are many different ways to establish connections between entities. Connections are characterized by the number of items they connect and the association’s direction. Let’s take a look!
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
© 2016 Michael Romer
About this chapter
Cite this chapter
Romer, M. (2016). References Between Entities. In: PHP Persistence. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2559-2_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2559-2_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2558-5
Online ISBN: 978-1-4842-2559-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books