Share via


ValidatingConvention.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)

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.

context
IConventionContext<IConventionModelBuilder>

Additional information associated with convention execution.

Implements

Applies to