ValueGenerator.WithConverter(ValueConverter) 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.
Wraps this ValueGenerator such that it processes values converted with the given ValueConverter.
public virtual Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator WithConverter (Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter converter);
abstract member WithConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
override this.WithConverter : Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public Overridable Function WithConverter (converter As ValueConverter) As ValueGenerator
Parameters
- converter
- ValueConverter
The value converter.
Returns
A new value generator that works with the converted values.
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