Share via


RelationalModelRuntimeInitializer.InitializeModel Method

Definition

Initializes the given model with runtime dependencies.

protected override void InitializeModel (Microsoft.EntityFrameworkCore.Metadata.IModel model, bool designTime, bool prevalidation);
override this.InitializeModel : Microsoft.EntityFrameworkCore.Metadata.IModel * bool * bool -> unit
Protected Overrides Sub InitializeModel (model As IModel, designTime As Boolean, prevalidation As Boolean)

Parameters

model
IModel

The model to initialize.

designTime
Boolean

Whether the model should contain design-time configuration.

prevalidation
Boolean

true indicates that only pre-validation initialization should be performed; false indicates that only post-validation initialization should be performed.

Applies to