Class DateOnlyToStringConverter
- Assembly
- Microsoft.EntityFrameworkCore.dll
Converts DateOnly to and from strings.
public class DateOnlyToStringConverter : StringDateOnlyConverter<DateOnly, string>
- Inheritance
-
DateOnlyToStringConverter
- Inherited Members
Remarks
See EF Core value converters for more information and examples.
Constructors
DateOnlyToStringConverter()
Creates a new instance of this converter.
public DateOnlyToStringConverter()
Remarks
See EF Core value converters for more information and examples.
DateOnlyToStringConverter(ConverterMappingHints?)
Creates a new instance of this converter.
public DateOnlyToStringConverter(ConverterMappingHints? mappingHints)
Parameters
mappingHints
ConverterMappingHintsHints 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; }