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 |
What is difference between XElement.Load() and XDocument.Load()?
How is datacontext class related to linq?
How are standard query operators useful in linq?
Explain what is the purpose of linq providers in linq?
What are Quantifiers?
How to write linq query in javascript?
Elaborate on plinq?
Where in linq query with multiple conditions?
How to write LINQ query for Inner Join with OR condition?
What is the difference between n-tier and n-layer architecture?
What are advantages of using LINQ on DataSet?
What are the different ways to write linq query syntax?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)