I encountered this problem myself using EF 7 and sql server 2008. Fortunately in the latest rc1 version of EF 7 you can solve this by using .UseRowNumberForPaging() as shown in this example:
1 2 3 4 5 6 7 8 9 |
services.AddEntityFramework() .AddSqlServer() .AddDbContext<YourDbContext>(options => options.UseSqlServer(configuration["Data:DefaultConnection:ConnectionString"]) // this is needed unless you are on mssql 2012 or higher .UseRowNumberForPaging() ); |