NumberToStringConverter<TNumber> 构造函数

定义

重载

NumberToStringConverter<TNumber>()

创建此转换器的新实例。

NumberToStringConverter<TNumber>(ConverterMappingHints)

创建此转换器的新实例。

NumberToStringConverter<TNumber>()

Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs

创建此转换器的新实例。

public NumberToStringConverter ();
Public Sub New ()

注解

有关详细信息和示例 ,请参阅 EF Core 值转换器

适用于

NumberToStringConverter<TNumber>(ConverterMappingHints)

Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs
Source:
NumberToStringConverter.cs

创建此转换器的新实例。

public NumberToStringConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints mappingHints = default);
public NumberToStringConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints? mappingHints);
new Microsoft.EntityFrameworkCore.Storage.ValueConversion.NumberToStringConverter<'Number> : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.NumberToStringConverter<'Number>
Public Sub New (Optional mappingHints As ConverterMappingHints = Nothing)
Public Sub New (mappingHints As ConverterMappingHints)

参数

mappingHints
ConverterMappingHints

可用于 ITypeMappingSource 为转换的数据创建具有适当分面的数据类型的提示。

注解

有关详细信息和示例 ,请参阅 EF Core 值转换器

适用于