You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LinqToQuerystring.EntityFramework library doesn't appear to work with EF6. When attempting to use $expand, I would get the following error:
Could not load type 'System.Data.Entity.DbExtensions' from assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
An assembly binding redirect doesn't work in this case because the Include extension method is now a member of System.Data.Entity.QueryableExtensions. Updating the nuget package to Entity Framework 6 and recompiling corrects the issue without any code changes. See commit mpetito/LinqToQuerystring@9119808
The text was updated successfully, but these errors were encountered:
@beyond-code-github Could you update the nuget package with this change? I rather have a dependency on your package than on a build of my local modifications...
The LinqToQuerystring.EntityFramework library doesn't appear to work with EF6. When attempting to use $expand, I would get the following error:
Could not load type 'System.Data.Entity.DbExtensions' from assembly 'EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
An assembly binding redirect doesn't work in this case because the Include extension method is now a member of System.Data.Entity.QueryableExtensions. Updating the nuget package to Entity Framework 6 and recompiling corrects the issue without any code changes. See commit mpetito/LinqToQuerystring@9119808
The text was updated successfully, but these errors were encountered: