Sprache

RelationalMapToJsonConvention Klasse

Definition

Eine Konvention, die Standardeinstellungen für eine Entität konfiguriert, die einer JSON-Spalte zugeordnet ist.

[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
Vererbung
RelationalMapToJsonConvention
Attribute
Implementiert

Hinweise

Weitere Informationen und Beispiele finden Sie unter Modellbaukonventionen .

Konstruktoren

Name Beschreibung
RelationalMapToJsonConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Erstellt eine neue Instanz von RelationalMapToJsonConvention.

Eigenschaften

Name Beschreibung
Dependencies

Abhängigkeiten für diesen Dienst.

RelationalDependencies

Relationale anbieterspezifische Abhängigkeiten für diesen Dienst.

Methoden

Name Beschreibung
ProcessEntityTypeAnnotationChanged(IConventionEntityTypeBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)
Veraltet.

Wird aufgerufen, nachdem eine Anmerkung für einen Entitätstyp geändert wurde.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Wird aufgerufen, wenn ein Modell abgeschlossen wird.

Gilt für: