mercredi 6 janvier 2016

In a domain model who is responsbile to call data mapper?

I'm learning "Patterns of Enterprise Application Architecture". I'm confused about data mapper pattern. As far as I know domain model itself should not be aware of existence of different data mappers. Then who is responsible to call data mappers to load or save a domain model objects?

Aucun commentaire:

Enregistrer un commentaire