共用方式為


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 移除任何先前設定的比較子。

適用於