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
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