IConventionProperty.SetJsonValueReaderWriterType(Type, Boolean) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Define o tipo de JsonValueReaderWriter<TValue> a ser usado para essa propriedade.
public Type? SetJsonValueReaderWriterType (Type? readerWriterType, bool fromDataAnnotation = false);
abstract member SetJsonValueReaderWriterType : Type * bool -> Type
Public Function SetJsonValueReaderWriterType (readerWriterType As Type, Optional fromDataAnnotation As Boolean = false) As Type
Parâmetros
- readerWriterType
- Type
Um tipo que herda de JsonValueReaderWriter<TValue>ou null
para usar o leitor/gravador do mapeamento de tipo.
- fromDataAnnotation
- Boolean
Indica se a configuração foi especificada usando uma anotação de dados.
Retornos
O valor configurado.
Aplica-se a
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Entity Framework