Share via


NumberToBytesConverter<TNumber> Constructors

Definition

Overloads

NumberToBytesConverter<TNumber>()

Creates a new instance of this converter.

NumberToBytesConverter<TNumber>(ConverterMappingHints)

Creates a new instance of this converter.

NumberToBytesConverter<TNumber>()

Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs

Creates a new instance of this converter.

public NumberToBytesConverter ();
Public Sub New ()

Remarks

This converter supports Double, Single, Decimal, Int32, Int64, Int16, Byte, UInt32, UInt64, UInt16, SByte, and Char.

See EF Core value converters for more information and examples.

Applies to

NumberToBytesConverter<TNumber>(ConverterMappingHints)

Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs
Source:
NumberToBytesConverter.cs

Creates a new instance of this converter.

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

This converter supports Double, Single, Decimal, Int32, Int64, Int16, Byte, UInt32, UInt64, UInt16, SByte, and Char.

See EF Core value converters for more information and examples.

Applies to