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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework