What are lazy/deferred loading and eager loading?



What are lazy/deferred loading and eager loading?..

Answer / Bhupender Singh Chahal

Lazy or deferred loading retrieves an entity or a collection of entities only when they are needed. It helps to optimize the performance by reducing the initial load. Eager loading, on the other hand, loads all related entities along with the main entity during the first query, which might result in a larger initial load but can help to reduce the number of queries required.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More LINQ Language-Integrated Query Interview Questions

What is a linq procedure?

1 Answers  


Why do we use linq in c#?

1 Answers  


what is LINQ? Why is it required?

1 Answers  


List the important language extensions made in c# to make linq a reality?

1 Answers  


What is predicate in linq?

1 Answers  


How are standard query operators implemented in linq?

1 Answers  


What is linq in dot net?

1 Answers  


what is the difference between N-layer and N-tier architecture in LINQ?

1 Answers  


What are advantages of using LINQ on DataSet?

1 Answers  


What is the advantage of linq in c#?

1 Answers  


What is linq in c# and its advantages?

1 Answers  


What are different types of operators in LINQ?

1 Answers  


Categories