Base solution for your next web application

Activities of "ferventcoder"

https://github.com/aspnetzero/aspnet-zero-core/issues/3287

For SQL Server 2008, what I've done is the following:

  • Find the EntityFrameworkCore project
  • Open {Name}DbContextConfigurer.cs
  • Change
builder.UseSqlServer(connectionString);

and

builder.UseSqlServer(connection);

to

builder.UseSqlServer(connectionString, s => s.UseRowNumberForPaging());

and

builder.UseSqlServer(connection, s => s.UseRowNumberForPaging());

See [https://github.com/aspnet/EntityFrameworkCore/issues/4616#issuecomment-221331425]) for details.

Showing 1 to 2 of 2 entries