IMutableProperty.SetValueComparer 方法

定义

重载

SetValueComparer(Type)

设置此属性的自定义 ValueComparer

SetValueComparer(ValueComparer)

设置此属性的自定义 ValueComparer

SetValueComparer(Type)

设置此属性的自定义 ValueComparer

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

参数

comparerType
Type

派生自 ValueComparer的类型,或者 null 用于删除任何以前设置的比较器。

适用于

SetValueComparer(ValueComparer)

设置此属性的自定义 ValueComparer

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

参数

comparer
ValueComparer

比较器,或者 null 删除任何以前设置的比较器。

适用于