Condividi tramite


IModelInitializedConvention.ProcessModelInitialized Metodo

Definizione

Chiamato dopo l'inizializzazione di un modello.

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

Parametri

modelBuilder
IConventionModelBuilder

Generatore per il modello.

context
IConventionContext<IConventionModelBuilder>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Si applica a