IForeignKeyOwnershipChangedConvention 接口

定义

表示在更改外键的所有权值时应执行的操作。

public interface IForeignKeyOwnershipChangedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IForeignKeyOwnershipChangedConvention = interface
    interface IConvention
Public Interface IForeignKeyOwnershipChangedConvention
Implements IConvention
派生
实现

注解

有关详细信息和示例,请参阅 模型生成约定

方法

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

在更改外键的所有权值后调用。

ProcessForeignKeyOwnershipChanged(IConventionRelationshipBuilder, IConventionContext<IConventionRelationshipBuilder>)

在更改外键的所有权值后调用。

适用于