Condividi tramite


ValueGenerationConvention.ProcessForeignKeyOwnershipChanged Metodo

Definizione

Chiamato dopo la modifica del valore di proprietà per una chiave esterna.

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

Parametri

relationshipBuilder
IConventionForeignKeyBuilder

Generatore per la chiave esterna.

context
IConventionContext<Nullable<Boolean>>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Implementazioni

Si applica a