Delen via


RelationalModelConvention Class

Definition

Caution

Use IModelRuntimeInitializer.Initialize instead.

A convention that precomputes a relational model.

public class RelationalModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
[System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")]
public class RelationalModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
type RelationalModelConvention = class
    interface IModelFinalizedConvention
    interface IConvention
[<System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")>]
type RelationalModelConvention = class
    interface IModelFinalizedConvention
    interface IConvention
Public Class RelationalModelConvention
Implements IModelFinalizedConvention
Inheritance
RelationalModelConvention
Attributes
Implements

Remarks

See Model building conventions for more information.

Constructors

RelationalModelConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of RelationalModelConvention.

Properties

Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

ProcessModelFinalized(IModel)

Called after a model is finalized and can no longer be mutated.

Applies to