Share via


IMutableElementType.SetValueConverter Method

Definition

Overloads

SetValueConverter(ValueConverter)

Sets the custom ValueConverter for this elements of the collection.

SetValueConverter(Type)

Sets the custom ValueConverter for this elements of the collection.

SetValueConverter(ValueConverter)

Sets the custom ValueConverter for this elements of the collection.

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

SetValueConverter(Type)

Sets the custom ValueConverter for this elements of the collection.

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

Parameters

converterType
Type

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

Applies to