Object Mapping

The mapping between your Domain objects and the database can be considered an implementation detail. The Domain lifecycle shouldn't be aware of these persistence details. As such, the mapping information should be defined as part of the Infrastructure layer, outside the Domain, and as the implementation for the Repositories.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset