Share via


ExpressionEqualityComparer Class

Definition

A comparer which implements IEqualityComparer<T> for Expression.

public sealed class ExpressionEqualityComparer : System.Collections.Generic.IEqualityComparer<System.Linq.Expressions.Expression>
type ExpressionEqualityComparer = class
    interface IEqualityComparer<Expression>
Public NotInheritable Class ExpressionEqualityComparer
Implements IEqualityComparer(Of Expression)
Inheritance
ExpressionEqualityComparer
Implements

Remarks

See Implementation of database providers and extensions and How EF Core queries work for more information and examples.

Properties

Instance

Gets an instance of ExpressionEqualityComparer.

Methods

Equals(Expression, Expression)

Returns a value indicating whether the given expressions are equal.

GetHashCode(Expression)

Returns the hash code for given expression.

Applies to