IMutableProperty.SetValueConverter 方法

定义

重载

SetValueConverter(Type)

设置此属性的自定义 ValueConverter

SetValueConverter(ValueConverter)

设置此属性的自定义 ValueConverter

SetValueConverter(Type)

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

设置此属性的自定义 ValueConverter

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

参数

converterType
Type

派生自 ValueConverter的类型,或 null 用于删除任何以前设置的转换器。

适用于

SetValueConverter(ValueConverter)

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

设置此属性的自定义 ValueConverter

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

参数

converter
ValueConverter

转换器,或者 null 删除任何以前设置的转换器。

适用于