IEntityTypePrimaryKeyChangedConvention Interface

Definition

Represents an operation that should be performed when the primary key for an entity type is changed.

public interface IEntityTypePrimaryKeyChangedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IEntityTypePrimaryKeyChangedConvention = interface
    interface IConvention
Public Interface IEntityTypePrimaryKeyChangedConvention
Implements IConvention
Derived
Implements

Remarks

See Model building conventions for more information and examples.

Methods

ProcessEntityTypePrimaryKeyChanged(IConventionEntityTypeBuilder, IConventionKey, IConventionKey, IConventionContext<IConventionKey>)

Called after the primary key for an entity type is changed.

Applies to