Share via


IForeignKeyRequirednessChangedConvention Interface

Definition

Represents an operation that should be performed when the requiredness for a foreign key is changed.

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

Remarks

See Model building conventions for more information and examples.

Methods

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

Called after the requiredness for a foreign key is changed.

ProcessForeignKeyRequirednessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Called after the requiredness for a foreign key is changed.

Applies to