- 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
推薦閱讀
- Java逍遙游記
- Learn Blockchain Programming with JavaScript
- 零起步玩轉掌控板與Mind+
- Mastering Kotlin
- Rust Cookbook
- MATLAB實用教程
- 游戲程序設計教程
- Mastering ServiceNow(Second Edition)
- 飛槳PaddlePaddle深度學習實戰
- Learning Three.js:The JavaScript 3D Library for WebGL
- Learning Laravel's Eloquent
- INSTANT Yii 1.1 Application Development Starter
- Getting Started with Python and Raspberry Pi
- Unity 2018 Augmented Reality Projects
- C語言程序設計與應用(第2版)