Table of Contents

Class BytesToStringConverter

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

Converts arrays of bytes to and from strings.

public class BytesToStringConverter : ValueConverter<byte[]?, string?>
Inheritance
BytesToStringConverter
Inherited Members

Remarks

See EF Core value converters for more information and examples.

Constructors

BytesToStringConverter()

Creates a new instance of this converter.

public BytesToStringConverter()

Remarks

See EF Core value converters for more information and examples.

BytesToStringConverter(ConverterMappingHints?)

Creates a new instance of this converter.

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