Share via


EntitySplittingConvention Class

Definition

A convention that creates linking relationships for entity splitting and manages the mapping fragments.

public class EntitySplittingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type EntitySplittingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
    interface IEntityTypeAddedConvention
Public Class EntitySplittingConvention
Implements IEntityTypeAddedConvention, IModelFinalizingConvention
Inheritance
EntitySplittingConvention
Implements

Remarks

See Model building conventions and Entity type hierarchy mapping for more information and examples.

Constructors

EntitySplittingConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of EntitySplittingConvention.

Properties

Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Called after an entity type is added to the model.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called when a model is being finalized.

Applies to