re: Imagining a better EntityFramework VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I disagree. In our code base we have disabled lazy loading for performance reasons, so we spend our time checking whether we have explicitly includ...
 

Lazy load will work best if you work with single object, i.e. in business transaction. When you retrieve object to presentation layer, Linq projection will help you to avoid lazy loading, with or without Automapper. You don't have to use Automapper to have this ability. Automapper just reduces duplicated mapping in your code. If Automapper has bug, you can raise it (although I haven't seen any bug yet).

But in my experience, I also got some glitch with EF Core Lazy loading so I didn't use it too. I see NHibernate solving my problem better.

code of conduct - report abuse