Share via


GuidToBytesConverter Constructors

Definition

Overloads

GuidToBytesConverter()

Creates a new instance of this converter.

GuidToBytesConverter(ConverterMappingHints)

Creates a new instance of this converter.

GuidToBytesConverter()

Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs

Creates a new instance of this converter.

public GuidToBytesConverter ();
Public Sub New ()

Remarks

This converter does not preserve order because the ordering of bits in the standard binary representation of a GUID does not match the ordering in the standard string representation.

See EF Core value converters for more information and examples.

Applies to

GuidToBytesConverter(ConverterMappingHints)

Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs
Source:
GuidToBytesConverter.cs

Creates a new instance of this converter.

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

Parameters

mappingHints
ConverterMappingHints

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

Remarks

This converter does not preserve order because the ordering of bits in the standard binary representation of a GUID does not match the ordering in the standard string representation.

See EF Core value converters for more information and examples.

Applies to