Share via


OrderingExpression.Update(SqlExpression) Method

Definition

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression expression);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.OrderingExpression
Public Overridable Function Update (expression As SqlExpression) As OrderingExpression

Parameters

expression
SqlExpression

The Expression property of the result.

Returns

This expression if no children changed, or an expression with the updated children.

Applies to