DateTimeToTicksConverter 构造函数

定义

重载

DateTimeToTicksConverter()

创建此转换器的新实例。

DateTimeToTicksConverter(ConverterMappingHints)

创建此转换器的新实例。

DateTimeToTicksConverter()

Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs

创建此转换器的新实例。

public DateTimeToTicksConverter ();
Public Sub New ()

注解

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

适用于

DateTimeToTicksConverter(ConverterMappingHints)

Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs
Source:
DateTimeToTicksConverter.cs

创建此转换器的新实例。

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

参数

mappingHints
ConverterMappingHints

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

注解

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

适用于