EntityFrameworkCore.UseRowNumberForPaging
EntityFrameworkCore.UseRowNumberForPaging copied to clipboard
.net 9 In Clause throws exception
int[] ids = [1, 2, 3];
List<Post> posts = context.Set<Post>().Where(e => ids.Contains(e.Id)).ToList();
throws System.InvalidOperationException: 'Expression '@__ids_0' in the SQL tree does not have a type mapping assigned.'