IMutableProperty.SetProviderValueComparer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
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)
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
- Source:
- IMutableProperty.cs
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
Entity Framework