StringToNumberConverter<TNumber> 构造函数

定义

重载

StringToNumberConverter<TNumber>()

创建此转换器的新实例。

StringToNumberConverter<TNumber>(ConverterMappingHints)

创建此转换器的新实例。

StringToNumberConverter<TNumber>()

Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs

创建此转换器的新实例。

public StringToNumberConverter ();
Public Sub New ()

注解

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

适用于

StringToNumberConverter<TNumber>(ConverterMappingHints)

Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs

创建此转换器的新实例。

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

参数

mappingHints
ConverterMappingHints

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

注解

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

适用于