共用方式為


IForeignKeyDependentRequirednessChangedConvention.ProcessForeignKeyDependentRequirednessChanged 方法

定義

在外鍵的相依必要性變更之後呼叫。

public void ProcessForeignKeyDependentRequirednessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);
abstract member ProcessForeignKeyDependentRequirednessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Sub ProcessForeignKeyDependentRequirednessChanged (relationshipBuilder As IConventionForeignKeyBuilder, context As IConventionContext(Of Nullable(Of Boolean)))

參數

relationshipBuilder
IConventionForeignKeyBuilder

外鍵的產生器。

context
IConventionContext<Nullable<Boolean>>

與慣例執行相關聯的其他資訊。

適用於