PropertyExtensions.GetStructuralValueComparer(IProperty) Methode

Definition

Achtung

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

Ruft die ab, die ValueComparer für Strukturkopien für diese Eigenschaft verwendet werden soll, oder null , wenn keine festgelegt ist.

C#
public static Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer GetStructuralValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
C#
[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);
C#
[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);

Parameter

property
IProperty

Die Eigenschaft.

Gibt zurück

Der Vergleich, oder null , wenn keiner festgelegt wurde.

Attribute

Gilt für:

Produkt Versionen (Veraltet)
Entity Framework Core 2.2, 3.0, 3.1 (5.0, 6.0)