Share via


DateTimeToTicksConverter Constructors

Definition

Overloads

DateTimeToTicksConverter()

Creates a new instance of this converter.

DateTimeToTicksConverter(ConverterMappingHints)

Creates a new instance of this converter.

DateTimeToTicksConverter()

Creates a new instance of this converter.

public DateTimeToTicksConverter ();
Public Sub New ()

Remarks

See EF Core value converters for more information and examples.

Applies to

DateTimeToTicksConverter(ConverterMappingHints)

Creates a new instance of this converter.

public DateTimeToTicksConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints mappingHints = default);
public DateTimeToTicksConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints? mappingHints);
new Microsoft.EntityFrameworkCore.Storage.ValueConversion.DateTimeToTicksConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.DateTimeToTicksConverter
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