Share via


IForeignKeyUniquenessChangedConvention Interface

Definition

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

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

Remarks

See Model building conventions for more information and examples.

Methods

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

Called after the uniqueness for a foreign key is changed.

ProcessForeignKeyUniquenessChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Called after the uniqueness for a foreign key is changed.

Applies to