StringToNumberConverter<TNumber> Class

Definition

Converts strings to and from numeric values.

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

Type Parameters

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

Remarks

See EF Core value converters for more information.

Constructors

StringToNumberConverter<TNumber>()

Creates a new instance of this converter.

StringToNumberConverter<TNumber>(ConverterMappingHints)

Creates a new instance of this converter.

Properties

DefaultInfo

A ValueConverterInfo for the default use of this converter.

Applies to