PropertyBaseExtensions.GetCurrentValueComparer(IPropertyBase) Method

Definition

Gets a IComparer<T> for comparing values in tracked IUpdateEntry entries.

C#
public static System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> GetCurrentValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);

Parameters

propertyBase
IPropertyBase

The property.

Returns

The comparer.

Applies to

Product Versions
Entity Framework Core 5.0