IForeignKeyRequirednessChangedConvention Interfejs

Definicja

Reprezentuje operację, która powinna zostać wykonana po zmianie wymaganej dla klucza obcego.

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

Uwagi

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

Metody

ProcessForeignKeyRequirednessChanged(IConventionForeignKeyBuilder, IConventionContext<Nullable<Boolean>>)

Wywoływana po zmianie wymagania klucza obcego.

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Wywoływana po zmianie wymagania klucza obcego.

Dotyczy