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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework