Partilhar via


SqlServerDbContextOptionsBuilder.UseRowNumberForPaging Método

Definição

Sobrecargas

UseRowNumberForPaging()

Use um ROW_NUMBER() em consultas em vez de OFFSET/FETCH. Esse método é compatível com versões anteriores para SQL Server 2005.

UseRowNumberForPaging(Boolean)
Obsoleto.

Use um ROW_NUMBER() em consultas em vez de OFFSET/FETCH. Esse método é compatível com versões anteriores para SQL Server 2005.

UseRowNumberForPaging()

Use um ROW_NUMBER() em consultas em vez de OFFSET/FETCH. Esse método é compatível com versões anteriores para SQL Server 2005.

public virtual void UseRowNumberForPaging ();
abstract member UseRowNumberForPaging : unit -> unit
override this.UseRowNumberForPaging : unit -> unit
Public Overridable Sub UseRowNumberForPaging ()

Aplica-se a

UseRowNumberForPaging(Boolean)

Origem:
SqlServerDbContextOptionsBuilder.cs
Origem:
SqlServerDbContextOptionsBuilder.cs
Origem:
SqlServerDbContextOptionsBuilder.cs
Origem:
SqlServerDbContextOptionsBuilder.cs

Cuidado

Row-number paging is no longer supported. See https://ak.ms/AA6h122 for more information.

Use um ROW_NUMBER() em consultas em vez de OFFSET/FETCH. Esse método é compatível com versões anteriores para 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

Parâmetros

useRowNumberForPaging
Boolean

Retornos

Atributos

Aplica-se a