Partager via


ValueGenerationConvention.ProcessForeignKeyOwnershipChanged Méthode

Définition

Appelé après la modification de la valeur de propriété d’une clé étrangère.

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

Paramètres

relationshipBuilder
IConventionForeignKeyBuilder

Générateur de la clé étrangère.

context
IConventionContext<Nullable<Boolean>>

Informations supplémentaires associées à l’exécution de la convention.

Implémente

S’applique à