IPAddressToBytesConverter 构造函数

定义

重载

IPAddressToBytesConverter()

创建此转换器的新实例。

IPAddressToBytesConverter(ConverterMappingHints)

创建此转换器的新实例。

IPAddressToBytesConverter()

Source:
IPAddressToBytesConverter.cs
Source:
IPAddressToBytesConverter.cs
Source:
IPAddressToBytesConverter.cs
Source:
IPAddressToBytesConverter.cs

创建此转换器的新实例。

public IPAddressToBytesConverter ();
Public Sub New ()

注解

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

适用于

IPAddressToBytesConverter(ConverterMappingHints)

Source:
IPAddressToBytesConverter.cs
Source:
IPAddressToBytesConverter.cs
Source:
IPAddressToBytesConverter.cs
Source:
IPAddressToBytesConverter.cs
Source:
IPAddressToBytesConverter.cs

创建此转换器的新实例。

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

参数

mappingHints
ConverterMappingHints

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

注解

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

适用于