Share via


PropertyExtensions.GetValueComparer(IProperty) Method

Definition

Gets the ValueComparer for this property, or null if none is set.

public static Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer GetValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetValueComparer : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer
<Extension()>
Public Function GetValueComparer (property As IProperty) As ValueComparer

Parameters

property
IProperty

The property.

Returns

The comparer, or null if none has been set.

Applies to