Share via


IModelFinalizedConvention.ProcessModelFinalized Method

Definition

Overloads

ProcessModelFinalized(IModel)

Called after a model is finalized and can no longer be mutated.

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called after a model is finalized.

ProcessModelFinalized(IModel)

Called after a model is finalized and can no longer be mutated.

public Microsoft.EntityFrameworkCore.Metadata.IModel ProcessModelFinalized (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member ProcessModelFinalized : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IModel
Public Function ProcessModelFinalized (model As IModel) As IModel

Parameters

model
IModel

The model.

Returns

Remarks

The implementation must be thread-safe.

Applies to

ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called after a model is finalized.

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

Parameters

modelBuilder
IConventionModelBuilder

The builder for the model.

context
IConventionContext<IConventionModelBuilder>

Additional information associated with convention execution.

Applies to