Partager via


SelectExpression.AddToOrderBy Méthode

Définition

Surcharges

AddToOrderBy(String, IProperty, TableExpressionBase, OrderingDirection)

Ajoute une colonne au ORDER BY de ce SelectExpression.

AddToOrderBy(Ordering)

Ajoute un single Remotion.Linq.Clauses.Ordering à l’ordre par.

AddToOrderBy(IEnumerable<Ordering>)

Ajoute plusieurs expressions au ORDER BY de ce SelectExpression.

AddToOrderBy(String, IProperty, TableExpressionBase, OrderingDirection)

Ajoute une colonne au ORDER BY de ce 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

Paramètres

column
String

Nom de la colonne.

property
IProperty

Propriété EF correspondante.

table
TableExpressionBase

Table cible.

orderingDirection
Remotion.Linq.Clauses.OrderingDirection

Direction de classement.

Retours

AliasExpression correspondant à l’expression ajoutée à ORDER BY.

S’applique à

AddToOrderBy(Ordering)

Source:
SelectExpression.cs
Source:
SelectExpression.cs

Ajoute un single Remotion.Linq.Clauses.Ordering à l’ordre par.

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

Paramètres

ordering
Remotion.Linq.Clauses.Ordering

Classement.

Retours

Remotion.Linq.Clauses.Ordering

Classement ajouté pour sélectionner l’expression.

S’applique à

AddToOrderBy(IEnumerable<Ordering>)

Ajoute plusieurs expressions au ORDER BY de ce 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))

Paramètres

orderings
IEnumerable<Remotion.Linq.Clauses.Ordering>

Expressions de classement.

S’applique à