Partager via


ContextContainerConvention.ProcessModelInitialized Méthode

Définition

Appelé après l’initialisation d’un modèle.

public virtual void ProcessModelInitialized (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder> context);
abstract member ProcessModelInitialized : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder> -> unit
override this.ProcessModelInitialized : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder> -> unit
Public Overridable Sub ProcessModelInitialized (modelBuilder As IConventionModelBuilder, context As IConventionContext(Of IConventionModelBuilder))

Paramètres

modelBuilder
IConventionModelBuilder

Générateur du modèle.

context
IConventionContext<IConventionModelBuilder>

Informations supplémentaires associées à l’exécution de la convention.

Implémente

S’applique à