TimeSpanToTicksConverter 构造函数

定义

重载

TimeSpanToTicksConverter()

创建此转换器的新实例。

TimeSpanToTicksConverter(ConverterMappingHints)

创建此转换器的新实例。

TimeSpanToTicksConverter()

Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs

创建此转换器的新实例。

public TimeSpanToTicksConverter ();
Public Sub New ()

注解

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

适用于

TimeSpanToTicksConverter(ConverterMappingHints)

Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs

创建此转换器的新实例。

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

参数

mappingHints
ConverterMappingHints

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

注解

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

适用于