Delen via


PropertyExtensions.GetStructuralValueComparer(IProperty) Method

Definition

Caution

Use GetKeyValueComparer. A separate structural comparer is no longer supported.

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

public static Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer GetStructuralValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use GetKeyValueComparer. A separate structural comparer is no longer supported.")]
public static Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer GetStructuralValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use GetKeyValueComparer. A separate structural comparer is no longer supported.")]
public static Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? GetStructuralValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetStructuralValueComparer : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer
[<System.Obsolete("Use GetKeyValueComparer. A separate structural comparer is no longer supported.")>]
static member GetStructuralValueComparer : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer
<Extension()>
Public Function GetStructuralValueComparer (property As IProperty) As ValueComparer

Parameters

property
IProperty

The property.

Returns

The comparer, or null if none has been set.

Attributes

Applies to