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

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
主站蜘蛛池模板: 建平县| 色达县| 尚志市| 灵台县| 毕节市| 纳雍县| 顺平县| 大兴区| 六盘水市| 醴陵市| 彩票| 巴中市| 偃师市| 扎兰屯市| 中西区| 沛县| 定边县| 河池市| 宜黄县| 沁源县| 石棉县| 万年县| 南溪县| 饶阳县| 海宁市| 武冈市| 南皮县| 盘山县| 西林县| 麟游县| 明星| 金坛市| 宁晋县| 岳西县| 荆门市| 修武县| 叶城县| 乌什县| 陇南市| 清涧县| 孟州市|