共用方式為


ConverterMappingHints.OverrideWith(ConverterMappingHints) 方法

定義

將指定物件的提示新增至這個物件。 已指定的提示會被覆寫。

public virtual Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints OverrideWith (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints? hints);
abstract member OverrideWith : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints
override this.OverrideWith : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints
Public Overridable Function OverrideWith (hints As ConverterMappingHints) As ConverterMappingHints

參數

hints
ConverterMappingHints

要加入的提示。

傳回

合併的提示。

備註

如需詳細資訊和範例 ,請參閱 EF Core 值轉換器

適用於