Udostępnij za pośrednictwem


ValueGenerationConvention.ProcessForeignKeyOwnershipChanged Metoda

Definicja

Wywoływana po zmianie wartości własności klucza obcego.

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

Parametry

relationshipBuilder
IConventionForeignKeyBuilder

Budowniczy klucza obcego.

context
IConventionContext<Nullable<Boolean>>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Implementuje

Dotyczy