- Mastering Entity Framework Core 2.0
- Prabhakaran Anbazhagan
- 123字
- 2021-07-02 21:16:42
Relationships – Terminology and Conventions
In Chapter 2, The Other Way Around – Database First Approach, we re-engineered the existing database using Entity Framework's Database-First approach. Let's now start to understand the terminologies and conventions used in relationships.
Entities are of no use if we don't give them an identity. The relationship terms we will be exploring in this chapter will provide an identity for the entities, which not only describes them, but also helps us in creating relationships between different entities.
The topics we will cover in this chapter are:
- Understanding relationship terms:
- Data models
- Principal entity
- Principal key
- Dependent entity
- Foreign key
- Navigation property
- Conventions in a relationship:
- Fully-defined relationships
- No foreign key property
- Single navigation property
- Foreign key
- Inverse property
推薦閱讀
- FuelPHP Application Development Blueprints
- AngularJS Testing Cookbook
- Spring Cloud Alibaba微服務(wù)架構(gòu)設(shè)計(jì)與開(kāi)發(fā)實(shí)戰(zhàn)
- Apache Spark 2.x Machine Learning Cookbook
- Learning RabbitMQ
- Ext JS Data-driven Application Design
- Getting Started with CreateJS
- Mastering PHP Design Patterns
- Data Analysis with Stata
- Python機(jī)器學(xué)習(xí)經(jīng)典實(shí)例
- C程序設(shè)計(jì)案例教程
- Python編程:從入門(mén)到實(shí)踐
- Python編程從0到1(視頻教學(xué)版)
- Node.js:來(lái)一打 C++ 擴(kuò)展
- Python項(xiàng)目實(shí)戰(zhàn)從入門(mén)到精通