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

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
主站蜘蛛池模板: 太保市| 浦北县| 苗栗市| 尼木县| 抚顺县| 镇平县| 成武县| 永寿县| 申扎县| 易门县| 承德市| 沂源县| 金堂县| 陆良县| 胶州市| 巴南区| 易门县| 南漳县| 东莞市| 泰安市| 卓资县| 奎屯市| 新化县| 偏关县| 紫云| 菏泽市| 延吉市| 彩票| 油尖旺区| 红安县| 拜城县| 陆河县| 聂荣县| 临城县| 咸丰县| 若尔盖县| 工布江达县| 曲周县| 旬邑县| 漾濞| 阳泉市|