Share via


ValueGenerator.WithConverter(ValueConverter) Method

Definition

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