Closed luca-esse closed 5 years ago
Hello @luca-esse ,
We successfully reproduced that issue on NET Core
, but it works perfectly on NET Framework
.
That kind of issue normally happens when a method is no longer available in .NET Code.
It happens when the method tries to compile the current expression ( QueryParameterExpression (line: 65))
We will investigate it on Monday.
Best Regards,
Jonathan
Hi Jonathan, Do you have any update?
Best regards, Luca
Hello @luca-esse ,
We passed a lot of time this week on this issue.
We can easily reproduce it, easily find out which line fail.
However, it's currently very hard to find out what's causing it as that happen when a compiled expression is executed.
We continue to investigate it but that one is currently harder to find that we initially though.
Hello @luca-esse ,
Sorry for being so long, that one is not easy ;(
We finally made a good discovery today about the Expression used that cause the issue.
The expression work on .NET Framework
but not on NET Core
Hello @luca-esse ,
The v7.0.29 has been released.
Let me know if everything works as expected.
Best Regards,
Jonathan
Hello @JonathanMagnan
Can confirm it's working with the v7.0.29 :)
Best regards, Luca
Great ;)
The following query throws a NullReferenceException:
Context.Games.Where(x => x.Name.Contains(searchText)).ToListAsync();
The problems seems to be the string.Contains() method.
EntityFramework-Classic version: 7.0.24
Here is the stack trace: