ValueGenerationConvention.ProcessForeignKeyOwnershipChanged Method

Definition

Called after the ownership value for a foreign key is changed.

C#
public virtual void ProcessForeignKeyOwnershipChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);

Parameters

relationshipBuilder
IConventionForeignKeyBuilder

The builder for the foreign key.

context
IConventionContext<Nullable<Boolean>>

Additional information associated with convention execution.

Implements

Applies to

Proizvod Verzije
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0