Share via


StringToNumberConverter<TNumber> Constructors

Definition

Overloads

StringToNumberConverter<TNumber>()

Creates a new instance of this converter.

StringToNumberConverter<TNumber>(ConverterMappingHints)

Creates a new instance of this converter.

StringToNumberConverter<TNumber>()

Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs

Creates a new instance of this converter.

public StringToNumberConverter ();
Public Sub New ()

Remarks

See EF Core value converters for more information and examples.

Applies to

StringToNumberConverter<TNumber>(ConverterMappingHints)

Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs
Source:
StringToNumberConverter.cs

Creates a new instance of this converter.

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