StringToTimeSpanConverter Class

Definition

Converts strings to and from TimeSpan values.

C#
public class StringToTimeSpanConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.StringTimeSpanConverter<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

Производ Верзије
Entity Framework Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0