PropertyExtensions.GetValueConverter(IProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework