explain lazy loading, eager loading, and explicit loading?
Answer / Satydev Tripathi
1) Lazy Loading: It is a technique where related entities are not loaded immediately but only when they are required. This can improve application performance by reducing initial load time but may result in multiple database round trips for accessing related data. 2) Eager Loading: It is the opposite of lazy loading where all related entities are loaded along with the primary entity during the initial query. This reduces the number of database round trips but might increase the initial load time. 3) Explicit Loading: It allows developers to manually force loading of related entities using the `Load` method, even if lazy loading is enabled.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is Separation of Concerns in ASP.NET ASP.Net MVC?
Why should we go for entity framework?
explain lazy loading, eager loading, and explicit loading?
What are HTML Helpers, AJAX Helpers in ASP.Net MVC?
How you can implement custom validation in asp.net MVC?
what is linq to entities?
What are the mobile devices supported by .net platform
Explain what languages does the .net framework support?
What is the difference between managed and unmanaged code?
Can you set the unlimited length for "maxjsonlength" property in config?
what is client wins and store wins mode in entity framework concurrency?
If we write return statement in finally block will it works fine or throws any error?