EntityFramework.LazyLoading icon indicating copy to clipboard operation
EntityFramework.LazyLoading copied to clipboard

.NET Core 2.0 plans?

Open buddyfavors opened this issue 6 years ago • 4 comments

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.

buddyfavors avatar Sep 12 '17 14:09 buddyfavors

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 :)

darxis avatar Sep 12 '17 21:09 darxis

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.

buddyfavors avatar Sep 12 '17 21:09 buddyfavors

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!

CJTalbot87 avatar Oct 19 '17 21:10 CJTalbot87

Any news on this ?

nicollaas94 avatar Jan 10 '18 00:01 nicollaas94