Partilhar via


PropertyExtensions.GetStructuralValueComparer(IProperty) Método

Definição

Cuidado

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

Obtém o ValueComparer a ser usado para cópias estruturais para essa propriedade ou null se nenhuma estiver definida.

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

Parâmetros

property
IProperty

A propriedade.

Retornos

O comparador ou null se nenhum tiver sido definido.

Atributos

Aplica-se a