Share via


IMutableProperty.SetProviderValueComparer Method

Definition

Overloads

SetProviderValueComparer(ValueComparer)

Sets the custom ValueComparer to use for the provider values for this property.

SetProviderValueComparer(Type)

Sets the custom ValueComparer to use for the provider values for this property.

SetProviderValueComparer(ValueComparer)

Sets the custom ValueComparer to use for the provider values for this property.

public void SetProviderValueComparer (Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? comparer);
abstract member SetProviderValueComparer : Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer -> unit
Public Sub SetProviderValueComparer (comparer As ValueComparer)

Parameters

comparer
ValueComparer

The comparer, or null to remove any previously set comparer.

Applies to

SetProviderValueComparer(Type)

Sets the custom ValueComparer to use for the provider values for this property.

public void SetProviderValueComparer (Type? comparerType);
abstract member SetProviderValueComparer : Type -> unit
Public Sub SetProviderValueComparer (comparerType As Type)

Parameters

comparerType
Type

A type that derives from ValueComparer, or null to remove any previously set comparer.

Applies to