共用方式為


ConverterMappingHints.With(ConverterMappingHints) 方法

定義

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

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

參數

hints
ConverterMappingHints

要加入的提示。

傳回

合併的提示。

備註

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

適用於