Startup.cs文件,在ConfigureServices方法中加入以下代码
services.Configure<AbpDbContextOptions>(options => { options.UseSqlServer(b => b.UseRowNumberForPaging()); });
原文地址:https://www.cnblogs.com/HUGO_CM/p/10888910.html
时间: 2024-10-31 05:21:38
Startup.cs文件,在ConfigureServices方法中加入以下代码
services.Configure<AbpDbContextOptions>(options => { options.UseSqlServer(b => b.UseRowNumberForPaging()); });
原文地址:https://www.cnblogs.com/HUGO_CM/p/10888910.html