I am considering introducing NHibernate into a project, but I have a question about how only DTOs will be used. The objects are simple, but what about the scenarios where you have a field of our two of several entities / tables that you need to combine to display data in the view. Of course, it would be redundant to load all entities and then create a DTO. Especially when, a sigh, a manual written request mapped to a DTO will be much more effective.
How do you guys deal with this scenario when using NH or any form in this regard.
source
share