PropertyExtensions.GetValueConverter(IProperty) 方法

定义

注意

Use IReadOnlyProperty.GetValueConverter

获取此属性的自定义 ValueConverter 集。

public static Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter GetValueConverter (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use IReadOnlyProperty.GetValueConverter")]
public static Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? GetValueConverter (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetValueConverter : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter
[<System.Obsolete("Use IReadOnlyProperty.GetValueConverter")>]
static member GetValueConverter : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter
<Extension()>
Public Function GetValueConverter (property As IProperty) As ValueConverter

参数

property
IProperty

属性。

返回

转换器;如果未设置任何转换器, null 则为 。

属性

适用于