Share via


ProjectionExpression.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.ProjectionExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression expression);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.ProjectionExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression expression);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ProjectionExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ProjectionExpression
member this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ProjectionExpression
Public Overridable Function Update (expression As SqlExpression) As ProjectionExpression
Public Function Update (expression As SqlExpression) As ProjectionExpression

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