PropertyBaseExtensions.GetCurrentValueComparer(IPropertyBase) Method

Definition

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

public static System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry> GetCurrentValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
static member GetCurrentValueComparer : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> System.Collections.Generic.IComparer<Microsoft.EntityFrameworkCore.Update.IUpdateEntry>
<Extension()>
Public Function GetCurrentValueComparer (propertyBase As IPropertyBase) As IComparer(Of IUpdateEntry)

Parameters

propertyBase
IPropertyBase

The property.

Returns

The comparer.

Applies to