Condividi tramite


RelationshipDiscoveryConvention.ProcessForeignKeyNullNavigationSet Metodo

Definizione

Chiamato dopo l'impostazione null di uno spostamento su su una chiave esterna.

public virtual void ProcessForeignKeyNullNavigationSet (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder relationshipBuilder, bool pointsToPrincipal, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> context);
abstract member ProcessForeignKeyNullNavigationSet : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * bool * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> -> unit
override this.ProcessForeignKeyNullNavigationSet : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder * bool * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> -> unit
Public Overridable Sub ProcessForeignKeyNullNavigationSet (relationshipBuilder As IConventionForeignKeyBuilder, pointsToPrincipal As Boolean, context As IConventionContext(Of IConventionNavigation))

Parametri

relationshipBuilder
IConventionForeignKeyBuilder

Generatore per la chiave esterna.

pointsToPrincipal
Boolean

Valore che indica se lo null spostamento punta al tipo di entità principale.

context
IConventionContext<IConventionNavigation>

Informazioni aggiuntive associate all'esecuzione della convenzione.

Implementazioni

Si applica a