共用方式為


StringToDateTimeOffsetConverter 建構函式

定義

多載

StringToDateTimeOffsetConverter()

建立這個轉換器的新實例。

StringToDateTimeOffsetConverter(ConverterMappingHints)

建立這個轉換器的新實例。

StringToDateTimeOffsetConverter()

來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs

建立這個轉換器的新實例。

public StringToDateTimeOffsetConverter ();
Public Sub New ()

備註

如需詳細資訊和範例 ,請參閱 EF Core 值轉換器

適用於

StringToDateTimeOffsetConverter(ConverterMappingHints)

來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs
來源:
StringToDateTimeOffsetConverter.cs

建立這個轉換器的新實例。

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

參數

mappingHints
ConverterMappingHints

可供 使用的 ITypeMappingSource 提示,以針對轉換的資料建立具有適當 Facet 的資料類型。

備註

如需詳細資訊和範例 ,請參閱 EF Core 值轉換器

適用於