Freigeben über


TypeMappingConvention Klasse

Definition

Achtung

Use IModelRuntimeInitializer.Initialize instead.

Eine Konvention, die die Zuordnung von Speichertyps zu Entitätseigenschaften erstellt und zuweist.

public class TypeMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class TypeMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")]
public class TypeMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type TypeMappingConvention = class
    interface IModelFinalizedConvention
    interface IConvention
type TypeMappingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
[<System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")>]
type TypeMappingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class TypeMappingConvention
Implements IModelFinalizedConvention
Public Class TypeMappingConvention
Implements IModelFinalizingConvention
Vererbung
TypeMappingConvention
Attribute
Implementiert

Hinweise

Weitere Informationen finden Sie unter Modellerstellungskonventionen .

Konstruktoren

TypeMappingConvention(ProviderConventionSetBuilderDependencies)
Veraltet.

Erstellt eine neue Instanz von TypeMappingConvention.

Eigenschaften

Dependencies
Veraltet.

Abhängigkeiten für diesen Dienst.

Methoden

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)
Veraltet.

Wird aufgerufen, nachdem ein Modell abgeschlossen wurde.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)
Veraltet.

Wird aufgerufen, wenn ein Modell abgeschlossen wird.

Gilt für: