Avoid Lazy Loading Entities in ASP.NET Applications

added by DotNetKicks
4/5/2017 3:59:39 AM

2 Kicks, 295 Views

Lazy Loading is an Entity Framework feature that lets you worry less about the specific amount of data you need to fetch with a given query. Instead, you write simple queries, and Entity Framework (or other OR/M tools that support this feature) will load the minimal amount of data (which is a good thing), and then will only fetch additional data on an as-needed basis.