IForeignKeyNullNavigationSetConvention.ProcessForeignKeyNullNavigationSet Metodo

Definizione

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

public 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
Public 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.

Si applica a