PropertyExtensions.GetKeyValueComparer(IProperty) Method

Definition

Gets the ValueComparer to use with keys for this property, or null if none is set.

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

Parameters

property
IProperty

The property.

Returns

The comparer, or null if none has been set.

Applies to