Type of issue
Missing information
Description
The default translation of parameterized collections has changed again in EF Core 10 as documented here.
This change should be considered a breaking change as it can affect performance, sometimes drastically reduce performance or even cause the query to fail (especially when the collection contains a large number of items). In EF Core 8, OPENJSON was the default (initially there was no option to change the behavior, that ability was introduced in EF Core 9). Any project written with EF Core 8 that relied on the performance characteristics of OPENJSON that is then upgraded to version 10 would need to be updated to use UseParameterizedCollectionMode or EF.Parameter wherever necessary.
This is the same idea as the documented breaking change for EF Core 8.
Page URL
https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-10.0/breaking-changes
Content source URL
https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md
Document Version Independent Id
bbde202d-67a5-fa94-03cd-8a526a1f2a56
Platform Id
9992e66c-a232-bf52-db0b-d236573bddb5
Article author
@roji