Class GuidToBytesConverter
- Assembly
- Microsoft.EntityFrameworkCore.dll
public class GuidToBytesConverter : ValueConverter<Guid, byte[]>
- Inheritance
-
GuidToBytesConverter
- Inherited Members
Remarks
See EF Core value converters for more information and examples.
Constructors
GuidToBytesConverter()
Creates a new instance of this converter.
public GuidToBytesConverter()
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.
GuidToBytesConverter(ConverterMappingHints?)
Creates a new instance of this converter.
public GuidToBytesConverter(ConverterMappingHints? mappingHints)
Parameters
mappingHints
ConverterMappingHintsHints 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.
Properties
DefaultInfo
A ValueConverterInfo for the default use of this converter.
public static ValueConverterInfo DefaultInfo { get; }