Table of Contents

Class TimeOnlyToStringConverter

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

Converts TimeOnly to and from strings.

public class TimeOnlyToStringConverter : StringTimeOnlyConverter<TimeOnly, string>
Inheritance
TimeOnlyToStringConverter
Inherited Members

Remarks

See EF Core value converters for more information and examples.

Constructors

TimeOnlyToStringConverter()

Creates a new instance of this converter.

public TimeOnlyToStringConverter()

Remarks

See EF Core value converters for more information and examples.

TimeOnlyToStringConverter(ConverterMappingHints?)

Creates a new instance of this converter.

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