Share via


EntitySplittingConvention Class

Definition

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

[System.Runtime.CompilerServices.Nullable(0)]
public class EntitySplittingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class EntitySplittingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type EntitySplittingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
    interface IEntityTypeAddedConvention
type EntitySplittingConvention = class
    interface IModelFinalizingConvention
    interface IConvention
    interface IEntityTypeAddedConvention
Public Class EntitySplittingConvention
Implements IEntityTypeAddedConvention, IModelFinalizingConvention
Inheritance
EntitySplittingConvention
Attributes
Implements

Remarks

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

Constructors

Name Description
EntitySplittingConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of EntitySplittingConvention.

Properties

Name Description
Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

Name Description
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