Skip to content

Bugfix: Displaying all Records (PageSize = -1) leads to Issue with EFCore on empty Lists

Compare
Choose a tag to compare
@Namoshek Namoshek released this 10 Dec 12:24
· 61 commits to master since this release

Thanks to @nino-s for fixing an issue in PR #4 where displaying all records using PageSize = -1 lead to an issue with EFCore for empty tables. This happened because we used the TotalCount in Take(totalCount) which lead to the combined usage of query.Skip(0).Take(0). Due to an unclear reason, EFCore cannot handle this combination of statements.