Class TimeSpanToTicksConverter
- Assembly
- Microsoft.EntityFrameworkCore.dll
public class TimeSpanToTicksConverter : ValueConverter<TimeSpan, long>
- Inheritance
-
TimeSpanToTicksConverter
- Inherited Members
Remarks
See EF Core value converters for more information and examples.
Constructors
TimeSpanToTicksConverter()
Creates a new instance of this converter.
public TimeSpanToTicksConverter()
Remarks
See EF Core value converters for more information and examples.
TimeSpanToTicksConverter(ConverterMappingHints?)
Creates a new instance of this converter.
public TimeSpanToTicksConverter(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; }