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

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
主站蜘蛛池模板: 长宁县| 永顺县| 鹿邑县| 安徽省| 嘉禾县| 商城县| 凤凰县| 蚌埠市| 尚义县| 宕昌县| 安福县| 安义县| 子洲县| 峡江县| 承德市| 安徽省| 龙口市| 潜江市| 平泉县| 九龙坡区| 武义县| 敦化市| 米林县| 通河县| 开远市| 会东县| 射阳县| 武陟县| 开封市| 长泰县| 榕江县| 徐闻县| 伊金霍洛旗| 尼木县| 山西省| 南郑县| 三门峡市| 临邑县| 阿拉善盟| 永吉县| 玛沁县|