Codechef4u is a community for computer professionals,by computer professionals,just like you; who loves sharing and helping each others,Join them
Share your post


Deferred Loading is a property of LINQ to SQL, by default it is set true, you can set it to false if required.

Technical explanation:

Lazy loading or deferred loading is a technique where data is loaded only when it is required, this technique improves performance.

Example for differed loading:

//Query doesn’t execute here
var query = from designation in SampleDbContext.Designation
            where designation.Title == "Software Engineer"
            select designation;

// Query loads data or executes here 
foreach (var designation in query)

Share your answer

Share as a guest

Please subscribe me to the CodeChef4U.

By creating your new answer, you agree to the privacy policy and terms of service.