NHibernate and DTOs

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.

+3
source share
1 answer

NHibernate / DTO.

- , DTO. , .

+3

Source: https://habr.com/ru/post/1719646/


All Articles