Share via


NumberToStringConverter<TNumber> Class

Definition

Converts numeric values to and from their string representation.

public class NumberToStringConverter<TNumber> : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter<TNumber,string>
public class NumberToStringConverter<TNumber> : Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.StringNumberConverter<TNumber,string,TNumber>
type NumberToStringConverter<'Number> = class
    inherit ValueConverter<'Number, string>
type NumberToStringConverter<'Number> = class
    inherit StringNumberConverter<'Number, string, 'Number>
Public Class NumberToStringConverter(Of TNumber)
Inherits ValueConverter(Of TNumber, String)
Public Class NumberToStringConverter(Of TNumber)
Inherits StringNumberConverter(Of TNumber, String, TNumber)

Type Parameters

TNumber
Inheritance
NumberToStringConverter<TNumber>
Inheritance
Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal.StringNumberConverter<TNumber,String,TNumber>
NumberToStringConverter<TNumber>

Remarks

See EF Core value converters for more information and examples.

Constructors

NumberToStringConverter<TNumber>()

Creates a new instance of this converter.

NumberToStringConverter<TNumber>(ConverterMappingHints)

Creates a new instance of this converter.

Properties

DefaultInfo

A ValueConverterInfo for the default use of this converter.

Applies to