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 of the online ebook at oreilly.com

05 March 2003