DateTimeOffsetToStringConverter 构造函数

定义

重载

DateTimeOffsetToStringConverter()

创建此转换器的新实例。

DateTimeOffsetToStringConverter(ConverterMappingHints)

创建此转换器的新实例。

DateTimeOffsetToStringConverter()

Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs

创建此转换器的新实例。

public DateTimeOffsetToStringConverter ();
Public Sub New ()

注解

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

适用于

DateTimeOffsetToStringConverter(ConverterMappingHints)

Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs
Source:
DateTimeOffsetToStringConverter.cs

创建此转换器的新实例。

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

参数

mappingHints
ConverterMappingHints

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

注解

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

适用于