All about .NET development blog From basic C# to advanced Entity Framework, MVC and SharePoint

TagNavigation Properties

How to automatically load navigation properties in Entity Framework (Core)

H

Anyone who has worked with Entity Framework must have managed related entities. I believe many developers will agree the way that system works is difficult to reconcile with design patterns such as the Repository pattern. In this post, I’ll provide one quick and easy way to automatically load all related properties from the database.

Update 2018-11-26: Added the equivalent for EF Core.

All about .NET development blog From basic C# to advanced Entity Framework, MVC and SharePoint