Share via


IntersectExpression.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.IntersectExpression Update (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression source1, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression source2);
[System.Runtime.CompilerServices.PreserveBaseOverrides]
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.IntersectExpression 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.IntersectExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.IntersectExpression
[<System.Runtime.CompilerServices.PreserveBaseOverrides>]
override this.Update : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.IntersectExpression
Public Overridable Function Update (source1 As SelectExpression, source2 As SelectExpression) As IntersectExpression

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.

Attributes

Applies to