-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array.Concat stopped working in EFCore8 #3001
Comments
Thanks for filing this. It may take me a while before I'm able to investigate, but I'll definitely be looking into it. |
This turned out to be a bit of a rabbit hole... EF 8.0 got 1st-class support for queryable (primitive) collections, and so operators like Concat/Append are now handled via that "pipeline" (rather than as arbitrary method translations). However, there are various issues specifically with using queryable collections inside ExecuteUpdate - see dotnet/efcore#32494. In the meantime I've submitted #3005 to bring back enumerable translations for Concat/Append specifically, for 8.0.1. |
thank you so much for your fast investigation. 👍 |
I try to update some rows in the database using this Updatemethod:
or
Both are working using EFCore7 and none are working in EFCore8
The error message for Concat is
and the message for Append:
Here is a complete LinqPad-Script:
but not for EFCore8
the tested Nuget-Packages are:
The text was updated successfully, but these errors were encountered: