ValueGenerationConvention.ProcessForeignKeyOwnershipChanged Yöntem

Tanım

Yabancı anahtarın sahiplik değeri değiştirildikten sonra çağrılır.

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

Parametreler

relationshipBuilder
IConventionForeignKeyBuilder

Yabancı anahtar için oluşturucu.

context
IConventionContext<Nullable<Boolean>>

Kural yürütme ile ilişkili ek bilgiler.

Uygulamalar

Şunlara uygulanır