Share via


OrderingExpression(SqlExpression, Boolean) Constructor

Definition

Creates a new instance of the OrderingExpression class.

public OrderingExpression (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression expression, bool ascending);
new Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression
Public Sub New (expression As SqlExpression, ascending As Boolean)

Parameters

expression
SqlExpression

An expression used for ordering.

ascending
Boolean

A value indicating if the ordering is ascending.

Applies to