Condividi tramite


MutablePropertyExtensions.SetValueComparer Metodo

Definizione

Imposta la proprietà personalizzata ValueComparer per questa proprietà.

public static void SetValueComparer (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer comparer);
static member SetValueComparer : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer -> unit
<Extension()>
Public Sub SetValueComparer (property As IMutableProperty, comparer As ValueComparer)

Parametri

property
IMutableProperty

Proprietà.

comparer
ValueComparer

Comparer o null per rimuovere qualsiasi comparer impostato in precedenza.

Si applica a