ValueComparer.ExtractEqualsBody(Expression, Expression) Method

Definition

Takes EqualsExpression and replaces the two parameters with the given expressions, returning the transformed body.

C#
public virtual System.Linq.Expressions.Expression ExtractEqualsBody (System.Linq.Expressions.Expression leftExpression, System.Linq.Expressions.Expression rightExpression);

Parameters

leftExpression
Expression

The new left expression.

rightExpression
Expression

The new right expression.

Returns

The body of the lambda with left and right parameters replaced.

Applies to

Proizvod Verzije
Entity Framework Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0