top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is lazy loading?

+2 votes
291 views
What is lazy loading?
posted Sep 8, 2014 by Muskan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Lazy loading is a concept where we delay the loading of the object unit we require it i.e. we load an object on demand rather than loading the objects unnecessarily. For instance if you have a "Customer" class which has "Orders" object aggregated. So you like to load the customer data but the orders objects you would like to delay until your application needs it.

Now coming to name why it is called lazy loading is because like a lazy person, you are delaying something you don't want to.

answer Sep 8, 2014 by Yogeshwar Thakur
Similar Questions
+4 votes

How to Generic Method to Create and Execute Parameterized SQL Query in .NET 4.0 ?

+3 votes

What can be various Concurrency Issues in .NET one should take care of?

...