OrderingExpression(SqlExpression, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework