What is the benefit of eager loading, when do you use it?

Posted by Andre Scott | Updated on

Eager Loading helps you to load all your needed entities at once; i.e., all your child entities will be loaded at a single database call. This can be achieved, using the Include method, which returns the related entities as a part of the query and a large amount of data is loaded at once.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers