Share via


SqlBinaryExpression.Update(SqlExpression, 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.SqlBinaryExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
Public Overridable Function Update (left As SqlExpression, right As SqlExpression) As SqlBinaryExpression

Parameters

left
SqlExpression

The Left property of the result.

right
SqlExpression

The Right property of the result.

Returns

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

Applies to