DateTimeOffsetToBytesConverter 构造函数

定义

重载

DateTimeOffsetToBytesConverter()

创建此转换器的新实例。

DateTimeOffsetToBytesConverter(ConverterMappingHints)

创建此转换器的新实例。

DateTimeOffsetToBytesConverter()

Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs

创建此转换器的新实例。

public DateTimeOffsetToBytesConverter ();
Public Sub New ()

注解

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

适用于

DateTimeOffsetToBytesConverter(ConverterMappingHints)

Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs
Source:
DateTimeOffsetToBytesConverter.cs

创建此转换器的新实例。

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

参数

mappingHints
ConverterMappingHints

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

注解

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

适用于