TimeSpanToStringConverter 构造函数

定义

重载

TimeSpanToStringConverter()

创建此转换器的新实例。

TimeSpanToStringConverter(ConverterMappingHints)

创建此转换器的新实例。

TimeSpanToStringConverter()

Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs

创建此转换器的新实例。

public TimeSpanToStringConverter ();
Public Sub New ()

注解

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

适用于

TimeSpanToStringConverter(ConverterMappingHints)

Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs
Source:
TimeSpanToStringConverter.cs

创建此转换器的新实例。

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

参数

mappingHints
ConverterMappingHints

可用于创建数据类型的 ITypeMappingSource 提示,这些数据类型具有转换后的数据的相应方面。

注解

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

适用于