Table of Contents

Class StringToGuidConverter

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

Converts strings to and from a Guid using the standard "8-4-4-4-12" format./>.

public class StringToGuidConverter : StringGuidConverter<string, Guid>
Inheritance
StringToGuidConverter
Inherited Members

Remarks

See EF Core value converters for more information and examples.

Constructors

StringToGuidConverter()

Creates a new instance of this converter.

public StringToGuidConverter()

Remarks

See EF Core value converters for more information and examples.

StringToGuidConverter(ConverterMappingHints?)

Creates a new instance of this converter.

public StringToGuidConverter(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