Efficiently Loading Related Objects in Entity Framework

added by DotNetKicks
3/13/2017 8:39:25 PM

1 Kicks, 288 Views

Practical .NET If you're not using the Entity Framework DbCollectionEntry object when working with an entity class's related objects, then your application is running too slow. Using DbCollectionEntry lets you asynchronously retrieve related objects and get only the objects you want.