Compartir a través de


IModelInitializedConvention.ProcessModelInitialized Método

Definición

Se llama después de inicializar un modelo.

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))

Parámetros

modelBuilder
IConventionModelBuilder

Generador del modelo.

context
IConventionContext<IConventionModelBuilder>

Información adicional asociada a la ejecución de convención.

Se aplica a