官术网_书友最值得收藏!

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
主站蜘蛛池模板: 东兴市| 武穴市| 重庆市| 尉犁县| 千阳县| 屏南县| 南安市| 甘孜县| 定州市| 昂仁县| 景谷| 通道| 收藏| 鄯善县| 彰武县| 双峰县| 玉林市| 新泰市| 长宁区| 山西省| 类乌齐县| 康乐县| 琼中| 尖扎县| 双牌县| 乌拉特中旗| 嫩江县| 中超| 衡阳市| 普洱| 广饶县| 乐亭县| 南溪县| 宁夏| 平罗县| 从江县| 长海县| 商洛市| 白城市| 邵阳市| 大关县|