--- url: "https://martinfowler.com/eaaCatalog/dependentMapping.html" titulek: "Dependent Mapping" h1: "Dependent Mapping" popis: "Has one class perform the database mapping for a child class." jazyk: "" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 21:08:49" znaku: 735 slov: 109 kodovani: "utf-8" sha256: "d4807d7195e2e4e1ad168aee0626e2039486a16f19c1815a0f068d2e63d92a76" --- # Dependent Mapping Has one class perform the database mapping for a child class. Some objects naturally appear in the context of other objects. Tracks on an album may be loaded or saved whenever the underlying album is loaded or saved. If they aren't referenced to by any other table in the database, you can simplify the mapping procedure by having the album mapper perform the mapping for the tracks as well - treating this mapping as a dependent mapping. for more details go to [Chapter 12](https://learning.oreilly.com/library/view/patterns-of-enterprise/0321127420/ch12.html#ch12lev1sec4) of the online ebook at oreilly.com This pattern is part of [Patterns of Enterprise Application Architecture](.) [Martin Fowler](/) 05 March 2003