Table of Contents

Class IPAddressToStringConverter

Namespace
Microsoft.EntityFrameworkCore.Storage.ValueConversion
Assembly
Microsoft.EntityFrameworkCore.dll

Converts a IPAddress to and from a string.

public class IPAddressToStringConverter : ValueConverter<IPAddress?, string?>
Inheritance
IPAddressToStringConverter
Inherited Members

Remarks

See EF Core value converters for more information and examples.

Constructors

IPAddressToStringConverter()

Creates a new instance of this converter.

public IPAddressToStringConverter()

IPAddressToStringConverter(ConverterMappingHints?)

Creates a new instance of this converter.

public IPAddressToStringConverter(ConverterMappingHints? mappingHints)

Parameters

mappingHints ConverterMappingHints

Hints that can be used by the ITypeMappingSource to create data types with appropriate facets for the converted data.

Remarks

See EF Core value converters for more information and examples.

Properties

DefaultInfo

A ValueConverterInfo for the default use of this converter.

public static ValueConverterInfo DefaultInfo { get; }

Property Value

ValueConverterInfo