Share via


IMutableProperty.SetValueConverter Method

Definition

Overloads

SetValueConverter(Type)

Sets the custom ValueConverter for this property.

SetValueConverter(ValueConverter)

Sets the custom ValueConverter for this property.

SetValueConverter(Type)

Source:
IMutableProperty.cs
Source:
IMutableProperty.cs
Source:
IMutableProperty.cs
Source:
IMutableProperty.cs

Sets the custom ValueConverter for this property.

public void SetValueConverter (Type? converterType);
abstract member SetValueConverter : Type -> unit
Public Sub SetValueConverter (converterType As Type)

Parameters

converterType
Type

A type that derives from ValueConverter, or null to remove any previously set converter.

Applies to

SetValueConverter(ValueConverter)

Source:
IMutableProperty.cs
Source:
IMutableProperty.cs
Source:
IMutableProperty.cs
Source:
IMutableProperty.cs

Sets the custom ValueConverter for this property.

public void SetValueConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? converter);
abstract member SetValueConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> unit
Public Sub SetValueConverter (converter As ValueConverter)

Parameters

converter
ValueConverter

The converter, or null to remove any previously set converter.

Applies to