- 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
推薦閱讀
- Visual FoxPro程序設(shè)計(jì)教程
- Python爬蟲(chóng)開(kāi)發(fā)與項(xiàng)目實(shí)戰(zhàn)
- Mastering Yii
- Scratch3.0趣味編程動(dòng)手玩:比賽訓(xùn)練營(yíng)
- C++語(yǔ)言程序設(shè)計(jì)
- 現(xiàn)代CPU性能分析與優(yōu)化
- C語(yǔ)言程序設(shè)計(jì)教程
- Qt 5.12實(shí)戰(zhàn)
- Mastering Machine Learning with scikit-learn
- 編寫(xiě)高質(zhì)量代碼之Java(套裝共2冊(cè))
- jQuery基礎(chǔ)教程(第4版)
- TensorFlow.NET實(shí)戰(zhàn)
- 計(jì)算機(jī)信息技術(shù)實(shí)踐教程
- Unreal Engine 4 Game Development Essentials
- Responsive Web Design with HTML5 and CSS3(Second Edition)