共用方式為


IMutableProperty.SetProviderValueComparer 方法

定義

多載

SetProviderValueComparer(ValueComparer)

設定要用於這個屬性之提供者值的自訂 ValueComparer

SetProviderValueComparer(Type)

設定要用於這個屬性之提供者值的自訂 ValueComparer

SetProviderValueComparer(ValueComparer)

來源:
IMutableProperty.cs
來源:
IMutableProperty.cs
來源:
IMutableProperty.cs

設定要用於這個屬性之提供者值的自訂 ValueComparer

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

參數

comparer
ValueComparer

比較子,或 null 移除任何先前設定的比較子。

適用於

SetProviderValueComparer(Type)

來源:
IMutableProperty.cs
來源:
IMutableProperty.cs
來源:
IMutableProperty.cs

設定要用於這個屬性之提供者值的自訂 ValueComparer

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

參數

comparerType
Type

衍生自 ValueComparer 的型別,或 null 移除任何先前設定的比較子。

適用於