IForeignKeyAddedConvention Interfejs

Definicja

Reprezentuje operację, którą należy wykonać po dodaniu klucza obcego do typu jednostki.

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

Uwagi

Aby uzyskać więcej informacji i przykłady, zobacz Konwencje tworzenia modeli .

Metody

ProcessForeignKeyAdded(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Wywoływane po dodaniu klucza obcego do typu jednostki.

ProcessForeignKeyAdded(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Wywoływane po dodaniu klucza obcego do typu jednostki.

Dotyczy