Compartilhar via


IForeignKeyDependentRequirednessChangedConvention.ProcessForeignKeyDependentRequirednessChanged Método

Definição

Chamado depois que a necessidade dependente de uma chave estrangeira é alterada.

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

Parâmetros

relationshipBuilder
IConventionForeignKeyBuilder

O construtor da chave estrangeira.

context
IConventionContext<Nullable<Boolean>>

Informações adicionais associadas à execução da convenção.

Aplica-se a