ScalarSubqueryExpression.Update(SelectExpression) 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.ScalarSubqueryExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression subquery);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ScalarSubqueryExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ScalarSubqueryExpression
Public Overridable Function Update (subquery As SelectExpression) As ScalarSubqueryExpression

Parameters

subquery
SelectExpression

The Subquery property of the result.

Returns

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

Applies to