ValueComparer.ExtractEqualsBody(Expression, Expression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Takes EqualsExpression and replaces the two parameters with the given expressions, returning the transformed body.
public virtual System.Linq.Expressions.Expression ExtractEqualsBody (System.Linq.Expressions.Expression leftExpression, System.Linq.Expressions.Expression rightExpression);
abstract member ExtractEqualsBody : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
override this.ExtractEqualsBody : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Public Overridable Function ExtractEqualsBody (leftExpression As Expression, rightExpression As Expression) As Expression
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework