Partager via


PropertyExtensions.GetStructuralValueComparer(IProperty) Méthode

Définition

Attention

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

Obtient le ValueComparer à utiliser pour les copies structurelles pour cette propriété, ou null si aucune n’est définie.

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

Paramètres

property
IProperty

Propriété.

Retours

Comparateur, ou null si aucun n’a été défini.

Attributs

S’applique à