SqlServerDbContextOptionsBuilder.UseRowNumberForPaging 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
UseRowNumberForPaging() |
在查询中使用 ROW_NUMBER () ,而不是 OFFSET/FETCH。 此方法与 SQL Server 2005 向后兼容。 |
UseRowNumberForPaging(Boolean) |
已过时.
在查询中使用 ROW_NUMBER () ,而不是 OFFSET/FETCH。 此方法与 SQL Server 2005 向后兼容。 |
UseRowNumberForPaging()
在查询中使用 ROW_NUMBER () ,而不是 OFFSET/FETCH。 此方法与 SQL Server 2005 向后兼容。
public virtual void UseRowNumberForPaging ();
abstract member UseRowNumberForPaging : unit -> unit
override this.UseRowNumberForPaging : unit -> unit
Public Overridable Sub UseRowNumberForPaging ()
适用于
UseRowNumberForPaging(Boolean)
注意
Row-number paging is no longer supported. See https://ak.ms/AA6h122 for more information.
在查询中使用 ROW_NUMBER () ,而不是 OFFSET/FETCH。 此方法与 SQL Server 2005 向后兼容。
public virtual void UseRowNumberForPaging (bool useRowNumberForPaging = true);
public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder UseRowNumberForPaging (bool useRowNumberForPaging = true);
[System.Obsolete("Row-number paging is no longer supported. See https://ak.ms/AA6h122 for more information.")]
public virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder UseRowNumberForPaging (bool useRowNumberForPaging = true);
abstract member UseRowNumberForPaging : bool -> unit
override this.UseRowNumberForPaging : bool -> unit
abstract member UseRowNumberForPaging : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.UseRowNumberForPaging : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
[<System.Obsolete("Row-number paging is no longer supported. See https://ak.ms/AA6h122 for more information.")>]
abstract member UseRowNumberForPaging : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
override this.UseRowNumberForPaging : bool -> Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
Public Overridable Sub UseRowNumberForPaging (Optional useRowNumberForPaging As Boolean = true)
Public Overridable Function UseRowNumberForPaging (Optional useRowNumberForPaging As Boolean = true) As SqlServerDbContextOptionsBuilder
参数
- useRowNumberForPaging
- Boolean
返回
- 属性