I am upgrading a project from .NET Core 2.1 to .NET 8 and as part of that, I also need to upgrade Entity Framework Core to 8.0.
In one of the code lines, the ‘With’ method is used, but that method is not available for use in EF Core 8.0 and therefore, I am getting an error.
So, is there any replacement method that I can use?
Error Screenshot
I tried to find a replacement method from EF Core Docs, but not able to find one.
New contributor
Jaimin Marfatia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.