EntityFramework.LazyLoading
EntityFramework.LazyLoading copied to clipboard
.NET Core 2.0 plans?
I took a quick stab at trying to upgrade it but I got stuck at an error in LazyLoadingEntityMaterializerSource. The first time was instantiated currentDbContext was null, but after that it was fine.
According to the EF roadmap they do have a stretch goal of lazy loading in their 2.1 release timed with the release of .NET Core 2.1.
The current release supports EF Core v1.1.1, and probably also v1.1.2.
It would be nice to support EF Core v2.0, I will surely take a look into this as soon as I have some free time, which I lack recently.
PS: I doubt they will release Lazy Loading support in EF Core 2.1, based on the comments in this issue: https://github.com/aspnet/EntityFrameworkCore/issues/3797. Better implement v2.0 support in this repo, hopefully there will not be much more work to make it compatible v2.1. Don't rely on them to implement official LazyLoading support :)
I haven't had any issues using this against EF Core v1.1.2, but yeah it would be awesome if this supported v2.0, I had to actually downgrade to .NET Core 1.1 as the existing project relies on Lazy Loading.
Support for 2.0 would be great, also does LazyLoading work for nested hierarchical Entities?
Let me know if I can help with any testing!
Any news on this ?