CosmosJsonIdConvention.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

Product Versions
Entity Framework Core 9.0