|  | 
| 1 |  | -# Entity Framework Core in .NET 10 Preview 7 - Release Notes | 
| 2 | 1 | 
 | 
| 3 |  | -Here's a summary of what's new in Entity Framework Core in this preview release: | 
|  | 2 | +# Entity Framework Core 10 Preview 7 - Release Notes | 
| 4 | 3 | 
 | 
| 5 |  | -- [Feature](#feature) | 
|  | 4 | +Entity Framework Core 10 updates: | 
| 6 | 5 | 
 | 
| 7 |  | -Entity Framework Core updates in .NET 10: | 
|  | 6 | +- [What's new in Entity Framework Core 10](https://learn.microsoft.com/ef/core/what-is-new/ef-core-10.0/whatsnew) documentation | 
|  | 7 | +- [Breaking change in Entity Framework Core 10](https://learn.microsoft.com/ef/core/what-is-new/ef-core-10.0/breaking-changes) | 
| 8 | 8 | 
 | 
| 9 |  | -- [What's new in EF Core 10](https://learn.microsoft.com/ef/core/what-is-new/ef-core-10.0/whatsnew) documentation | 
|  | 9 | +## Improved translation for parameterized collection | 
| 10 | 10 | 
 | 
| 11 |  | -## Feature | 
|  | 11 | +A notoriously difficult problem with relational databases is queries that involve *parameterized collections*: | 
| 12 | 12 | 
 | 
| 13 |  | -Something about the feature | 
|  | 13 | +```c# | 
|  | 14 | +int[] ids = [1, 2, 3]; | 
|  | 15 | +var blogs = await context.Blogs.Where(b => ids.Contains(b.Id)).ToListAsync(); | 
|  | 16 | +``` | 
|  | 17 | + | 
|  | 18 | +EF 10.0 introduces a new default translation mode for parameterized collections, where each value in the collection is translated into its own scalar parameter: | 
|  | 19 | + | 
|  | 20 | +```sql | 
|  | 21 | +SELECT [b].[Id], [b].[Name] | 
|  | 22 | +FROM [Blogs] AS [b] | 
|  | 23 | +WHERE [b].[Id] IN (@ids1, @ids2, @ids3) | 
|  | 24 | +``` | 
|  | 25 | + | 
|  | 26 | +For more information, [see the EF release notes](https://learn.microsoft.com/ef/core/what-is-new/ef-core-10.0/whatsnew#parameterized-collection-translation). | 
|  | 27 | + | 
|  | 28 | +## Small improvements and bug fixes | 
|  | 29 | + | 
|  | 30 | +- Fix Microsoft.Data.Sqlite behavior around `DateTime`, `DateTimeOffset` and UTC, [see breaking change notes](https://learn.microsoft.com/ef/core/what-is-new/ef-core-10.0/breaking-changes#DateTimeOffset-read) ([#36195](https://github.com/dotnet/efcore/issues/36195)). | 
|  | 31 | +- Fix translation of `DefaultIfEmpty` in various scenarios ([#19095](https://github.com/dotnet/efcore/issues/19095), [#33343](https://github.com/dotnet/efcore/issues/33343), [#36208](https://github.com/dotnet/efcore/issues/36208)). | 
|  | 32 | + | 
|  | 33 | +## Everything else in Preview 7 | 
|  | 34 | + | 
|  | 35 | +The full list of issues completed for Preview 7 can be found [here](https://github.com/dotnet/efcore/issues?q=is%3Aissue%20state%3Aclosed%20milestone%3A10.0.0%20label%3Apreview-7). | 
0 commit comments