Partager via


IForeignKeyOwnershipChangedConvention Interface

Definition

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

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

Remarks

See Model building conventions for more information and examples.

Methods

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

Called after the ownership value for a foreign key is changed.

ProcessForeignKeyOwnershipChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

Called after the ownership value for a foreign key is changed.

Applies to