MutablePropertyExtensions.SetValueComparer 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.
Sets the custom ValueComparer for this property.
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)
Parameters
- property
- IMutableProperty
The property.
- comparer
- ValueComparer
The comparer, or null
to remove any previously set comparer.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework