Skip, Take and Select return incorrect results #6318
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Steps to reproduce
Using the default ASP.NET Core MVC template in Visual Studio with LocalDB.
I have Album database model:
And ListAlbumViewModel:
The issue
If I have full database with albums, this query runs fine and returns correct results:
However if I move the
Select
call after theTake
, I receivepageSize
times the first found entry. For example if I have page size 10 and the first album has Id 1, I will receive 10 times the album with Id 1. Here is the query:Further technical details
EF Core version: 1.0.0
Operating system: Windows 10
Visual Studio version: 2015 Community
The text was updated successfully, but these errors were encountered: