ValidatingConvention.ProcessModelFinalized 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.
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)
- Source:
- ValidatingConvention.cs
- Source:
- ValidatingConvention.cs
Called after a model is finalized and can no longer be mutated.
public virtual Microsoft.EntityFrameworkCore.Metadata.IModel ProcessModelFinalized (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member ProcessModelFinalized : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IModel
override this.ProcessModelFinalized : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Metadata.IModel
Public Overridable Function ProcessModelFinalized (model As IModel) As IModel
Parameters
- model
- IModel
The model.
Returns
Implements
Applies to
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)
- Source:
- ValidatingConvention.cs
- Source:
- ValidatingConvention.cs
Called after a model is finalized.
public virtual 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
override this.ProcessModelFinalized : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder> -> unit
Public Overridable Sub ProcessModelFinalized (modelBuilder As IConventionModelBuilder, context As IConventionContext(Of IConventionModelBuilder))
Parameters
- modelBuilder
- IConventionModelBuilder
The builder for the model.
Additional information associated with convention execution.
Implements
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