PropertyExtensions.GetValueConverter(IProperty) Method

Definition

Caution

Use IReadOnlyProperty.GetValueConverter

Gets the custom ValueConverter set for this property.

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

Parameters

property
IProperty

The property.

Returns

The converter, or null if none has been set.

Attributes

Applies to