Compartir a través de


ContextContainerConvention.ProcessModelInitialized Método

Definición

Se llama después de inicializar un modelo.

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

Parámetros

modelBuilder
IConventionModelBuilder

Generador del modelo.

context
IConventionContext<IConventionModelBuilder>

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

Implementaciones

Se aplica a