Share via


ExceptExpression.Update(SelectExpression, 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.ExceptExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression source1, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression source2);
abstract member Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExceptExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.ExceptExpression
Public Overridable Function Update (source1 As SelectExpression, source2 As SelectExpression) As ExceptExpression

Parameters

source1
SelectExpression

The Source1 property of the result.

source2
SelectExpression

The Source2 property of the result.

Returns

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

Applies to