Share via


StringToTimeSpanConverter Class

Definition

Converts strings to and from TimeSpan values.

public class StringToTimeSpanConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.StringTimeSpanConverter<string,TimeSpan>
type StringToTimeSpanConverter = class
    inherit StringTimeSpanConverter<string, TimeSpan>
Public Class StringToTimeSpanConverter
Inherits StringTimeSpanConverter(Of String, TimeSpan)
Inheritance
Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.StringTimeSpanConverter<String,TimeSpan>
StringToTimeSpanConverter

Remarks

See EF Core value converters for more information and examples.

Constructors

StringToTimeSpanConverter()

Creates a new instance of this converter.

StringToTimeSpanConverter(ConverterMappingHints)

Creates a new instance of this converter.

Properties

DefaultInfo

A ValueConverterInfo for the default use of this converter.

Applies to