Lazy Loading with EF Core Proxies
- 📅
- 📝 1,093 words
- 🕙 5 minutes
- 📦 Development
- 🏷️ Entity Framework, MongoDB
With the Microsoft.EntityFrameworkCore.Proxies NuGet package you can use to traverse navigation properties. This is often preferable to joins and includes such as when using one-to-many or only exploring a subset of the navigations based on client-side logic or for providers that don't support include yet.
This post will show you how to set up lazy loading with EF Core Proxies and MongoDB.