Class ArrayStructuralComparer<TElement>
- Namespace
- Microsoft.EntityFrameworkCore.ChangeTracking
- Assembly
- Microsoft.EntityFrameworkCore.dll
Specifies value comparison for arrays where each element pair is compared. A new array is constructed when snapshotting.
public class ArrayStructuralComparer<TElement> : ValueComparer<TElement[]>, IEqualityComparer, IEqualityComparer<object>, IEqualityComparer<TElement[]>
Type Parameters
TElement
The array element type.
- Inheritance
-
ValueComparer<TElement[]>ArrayStructuralComparer<TElement>
- Implements
-
IEqualityComparer<TElement[]>
- Inherited Members
- Extension Methods
Remarks
See EF Core value comparers for more information and examples.
Constructors
ArrayStructuralComparer()
Creates a comparer instance.
public ArrayStructuralComparer()