SelectExpression.AddToOrderBy Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddToOrderBy(String, IProperty, TableExpressionBase, OrderingDirection) |
Adiciona uma coluna ao ORDER BY desta SelectExpression. |
AddToOrderBy(Ordering) |
Adiciona um único Remotion.Linq.Clauses.Ordering ao pedido por. |
AddToOrderBy(IEnumerable<Ordering>) |
Adiciona várias expressões ao ORDER BY desta SelectExpression. |
AddToOrderBy(String, IProperty, TableExpressionBase, OrderingDirection)
Adiciona uma coluna ao ORDER BY desta SelectExpression.
public virtual Microsoft.EntityFrameworkCore.Query.Expressions.AliasExpression AddToOrderBy (string column, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase table, Remotion.Linq.Clauses.OrderingDirection orderingDirection);
abstract member AddToOrderBy : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase * Remotion.Linq.Clauses.OrderingDirection -> Microsoft.EntityFrameworkCore.Query.Expressions.AliasExpression
override this.AddToOrderBy : string * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase * Remotion.Linq.Clauses.OrderingDirection -> Microsoft.EntityFrameworkCore.Query.Expressions.AliasExpression
Public Overridable Function AddToOrderBy (column As String, property As IProperty, table As TableExpressionBase, orderingDirection As OrderingDirection) As AliasExpression
Parâmetros
- column
- String
O nome da coluna.
- property
- IProperty
A propriedade EF correspondente.
- table
- TableExpressionBase
A tabela de destino.
- orderingDirection
- Remotion.Linq.Clauses.OrderingDirection
A direção da ordenação.
Retornos
Uma AliasExpression correspondente à expressão adicionada ao ORDER BY.
Aplica-se a
AddToOrderBy(Ordering)
- Origem:
- SelectExpression.cs
- Origem:
- SelectExpression.cs
Adiciona um único Remotion.Linq.Clauses.Ordering ao pedido por.
public virtual void AddToOrderBy (Remotion.Linq.Clauses.Ordering ordering);
public virtual Remotion.Linq.Clauses.Ordering AddToOrderBy (Remotion.Linq.Clauses.Ordering ordering);
abstract member AddToOrderBy : Remotion.Linq.Clauses.Ordering -> unit
override this.AddToOrderBy : Remotion.Linq.Clauses.Ordering -> unit
abstract member AddToOrderBy : Remotion.Linq.Clauses.Ordering -> Remotion.Linq.Clauses.Ordering
override this.AddToOrderBy : Remotion.Linq.Clauses.Ordering -> Remotion.Linq.Clauses.Ordering
Public Overridable Sub AddToOrderBy (ordering As Ordering)
Public Overridable Function AddToOrderBy (ordering As Ordering) As Ordering
Parâmetros
- ordering
- Remotion.Linq.Clauses.Ordering
A ordenação.
Retornos
A ordenação adicionada à expressão select.
Aplica-se a
AddToOrderBy(IEnumerable<Ordering>)
Adiciona várias expressões ao ORDER BY desta SelectExpression.
public virtual void AddToOrderBy (System.Collections.Generic.IEnumerable<Remotion.Linq.Clauses.Ordering> orderings);
abstract member AddToOrderBy : seq<Remotion.Linq.Clauses.Ordering> -> unit
override this.AddToOrderBy : seq<Remotion.Linq.Clauses.Ordering> -> unit
Public Overridable Sub AddToOrderBy (orderings As IEnumerable(Of Ordering))
Parâmetros
- orderings
- IEnumerable<Remotion.Linq.Clauses.Ordering>
As expressões de ordenação.
Aplica-se a
Entity Framework