RelationalModelRuntimeInitializer.InitializeModel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework