Partager via


IModelInitializedConvention.ProcessModelInitialized Méthode

Définition

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

public 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
Public 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.

S’applique à