ValueGenerator.WithConverter(ValueConverter) Método

Definição

Encapsula isso ValueGenerator de modo que processe valores convertidos com o determinado 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

Parâmetros

converter
ValueConverter

O conversor de valor.

Retornos

Um novo gerador de valor que funciona com os valores convertidos.

Aplica-se a