MutablePropertyExtensions.SetValueConverter 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.
Sets the custom ValueConverter for this property.
public static void SetValueConverter (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter converter);
static member SetValueConverter : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> unit
<Extension()>
Public Sub SetValueConverter (property As IMutableProperty, converter As ValueConverter)
Parameters
- property
- IMutableProperty
The property.
- converter
- ValueConverter
The converter, or null
to remove any previously set converter.
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