Idioma

RelationalMapToJsonConvention Classe

Definição

Uma convenção que define as configurações padrão de uma entidade mapeada para uma coluna JSON.

[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalMapToJsonConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalMapToJsonConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class RelationalMapToJsonConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalMapToJsonConvention = class
    interface IEntityTypeAnnotationChangedConvention
    interface IConvention
    interface IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalMapToJsonConvention = class
    interface IModelFinalizingConvention
    interface IConvention
type RelationalMapToJsonConvention = class
    interface IEntityTypeAnnotationChangedConvention
    interface IConvention
    interface IModelFinalizingConvention
Public Class RelationalMapToJsonConvention
Implements IEntityTypeAnnotationChangedConvention, IModelFinalizingConvention
Public Class RelationalMapToJsonConvention
Implements IModelFinalizingConvention
Herança
RelationalMapToJsonConvention
Atributos
Implementações

Comentários

Consulte as convenções de criação de modelos para obter mais informações e exemplos.

Construtores

Nome Descrição
RelationalMapToJsonConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Cria uma nova instância de RelationalMapToJsonConvention.

Propriedades

Nome Descrição
Dependencies

Dependências para esse serviço.

RelationalDependencies

Dependências específicas do provedor relacional para esse serviço.

Métodos

Nome Descrição
ProcessEntityTypeAnnotationChanged(IConventionEntityTypeBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)
Obsoleto.

Chamado depois que uma anotação é alterada em um tipo de entidade.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Chamado quando um modelo está sendo finalizado.

Aplica-se a