Table of Contents

Interface IModelInitializedConvention

Namespace
Microsoft.EntityFrameworkCore.Metadata.Conventions
Assembly
Microsoft.EntityFrameworkCore.dll

Represents an operation that should be performed when a model is initialized.

public interface IModelInitializedConvention : IConvention

Remarks

See Model building conventions for more information and examples.

Methods

ProcessModelInitialized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called after a model is initialized.

void ProcessModelInitialized(IConventionModelBuilder modelBuilder, IConventionContext<IConventionModelBuilder> context)

Parameters

modelBuilder IConventionModelBuilder

The builder for the model.

context IConventionContext<IConventionModelBuilder>

Additional information associated with convention execution.