Chapter 17 - Entity
During the chapters before of Chapter 17, I've read about isolation of domain from technical implementation, like showed on FIGURE 8-13.
But analysing the Chapter 17 the isolation of domain seems broken, because during the Chapter 17 is mentionated the use of ORM with domain's entity. The example downloaded has a test using entity directly with NHibernate.
Now I'm confused.
Entities being on ORM, force to model an entity accordly tables of database.
Isn't the role of Dto?
|