TimeSpanToTicksConverter Constructors

Definition

Overloads

TimeSpanToTicksConverter()

Creates a new instance of this converter.

TimeSpanToTicksConverter(ConverterMappingHints)

Creates a new instance of this converter.

TimeSpanToTicksConverter()

Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs

Creates a new instance of this converter.

C#
public TimeSpanToTicksConverter ();

Remarks

See EF Core value converters for more information and examples.

Applies to

Entity Framework Core 9.0 и друге верзије
Производ Верзије
Entity Framework Core 6.0, 7.0, 8.0, 9.0

TimeSpanToTicksConverter(ConverterMappingHints)

Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs
Source:
TimeSpanToTicksConverter.cs

Creates a new instance of this converter.

C#
public TimeSpanToTicksConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints mappingHints = default);
C#
public TimeSpanToTicksConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints? mappingHints);

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

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