ValueComparer.ExtractHashCodeBody(Expression) Method

Definition

Takes the HashCodeExpression and replaces the parameter with the given expression, returning the transformed body.

C#
public virtual System.Linq.Expressions.Expression ExtractHashCodeBody (System.Linq.Expressions.Expression expression);

Parameters

expression
Expression

The new expression.

Returns

The body of the lambda with the parameter replaced.

Applies to

Product Versions
Entity Framework Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0