Share via


StringToTimeSpanConverter Constructors

Definition

Overloads

StringToTimeSpanConverter()

Creates a new instance of this converter.

StringToTimeSpanConverter(ConverterMappingHints)

Creates a new instance of this converter.

StringToTimeSpanConverter()

Creates a new instance of this converter.

public StringToTimeSpanConverter ();
Public Sub New ()

Remarks

See EF Core value converters for more information and examples.

Applies to

StringToTimeSpanConverter(ConverterMappingHints)

Creates a new instance of this converter.

public StringToTimeSpanConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints mappingHints = default);
public StringToTimeSpanConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints? mappingHints);
new Microsoft.EntityFrameworkCore.Storage.ValueConversion.StringToTimeSpanConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.StringToTimeSpanConverter
Public Sub New (Optional mappingHints As ConverterMappingHints = Nothing)
Public Sub New (mappingHints As ConverterMappingHints)

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.

Applies to