**Update 2**
I have a project with a typical structure of 3 layers (UI / Domain / Data layer). What are the pros and cons so that both domain model objects are at the domain and data level.
The ability to change to another database is subtle. What are the pros and cons of having only data in the data layer as domain model objects? What is the difference if ORM is used (Is it good to have both organizations when ORM (NHibernate) is used)?
I ask you to complain about your ideas, links, articles, books.
Update 3
In what circumstances should we use both a domain object and a data object?
source
share