다음을 통해 공유


IForeignKeyAddedConvention Interface

Definition

Represents an operation that should be performed when a foreign key is added to the entity type.

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

Remarks

See Model building conventions for more information and examples.

Methods

ProcessForeignKeyAdded(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Called after a foreign key is added to the entity type.

ProcessForeignKeyAdded(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Called after a foreign key is added to the entity type.

Applies to