Translate the new queryable Take(Range) and ElementAt(Index) #24479
Labels
area-query
consider-for-current-release
punted-for-7.0
Originally planned for the EF Core 7.0 (EF7) release, but moved out due to resource constraints.
type-enhancement
Milestone
dotnet/runtime#28776 introduced a new Queryable Take operator that accepts a Range and a new ElementAt that accepts an Index. In a nutshell,
source.Take(2..7)
is a shorter version ofsource.Take(7).Skip(2)
(see the issue for more variants and discussion).Note discussion on Index/Range in expression trees in dotnet/runtime#28776 (comment) (/cc @AndriySvyryd).
The text was updated successfully, but these errors were encountered: