liveBook · Manning

Dependent entity

A dependent entity is an entity whose identification or existence depends on a related owner entity and cannot be fully determined independently.

How 2 Manning books explain it

Grokking Relational Database Design

An entity whose identification depends on a related owner entity and typically cannot be uniquely identified by its own attributes alone.

How it is used
Refines E-R diagrams by deciding whether dependent entities should use strong or weak representations.
How deep it goes
Explains dependency, composite and partial keys, conversions, and design trade-offs; stops short of database-specific implementation syntax.
Examples
Uses movie and ticket, review, purchase_product, and user_address to compare weak-entity choices and consequences.
What you can do after
Evaluate whether an entity should be weak and select an appropriate composite or inherited key representation.

Read how Grokking Relational Database Design explains dependent entity →

.NET in Action, Second Edition

A dependent entity is an entity whose existence or identity depends on a principal entity.

How it is used
Models ratings that belong to books in an EF Core relational catalog.
How deep it goes
Explains navigation properties and foreign-key conventions, but notes that code-first schemas do not enforce one-to-one relationships at database level.
Examples
Uses Book and Rating classes, with BookId linking each rating to its book.
What you can do after
Apply EF Core conventions to model a dependent entity and its relationship to a principal.

Read how .NET in Action, Second Edition explains dependent entity →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.