Share via


IForeignKeyDependentRequirednessChangedConvention.ProcessForeignKeyDependentRequirednessChanged Method

Definition

Called after the dependent requiredness for a foreign key is changed.

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)))

Parameters

relationshipBuilder
IConventionForeignKeyBuilder

The builder for the foreign key.

context
IConventionContext<Nullable<Boolean>>

Additional information associated with convention execution.

Applies to