Partager via


INavigationRemovedConvention.ProcessNavigationRemoved Méthode

Définition

Appelé après la suppression d’une navigation du type d’entité.

public void ProcessNavigationRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder sourceEntityTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder targetEntityTypeBuilder, string navigationName, System.Reflection.MemberInfo memberInfo, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> context);
public void ProcessNavigationRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder sourceEntityTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder targetEntityTypeBuilder, string navigationName, System.Reflection.MemberInfo? memberInfo, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> context);
abstract member ProcessNavigationRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * string * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
Public Sub ProcessNavigationRemoved (sourceEntityTypeBuilder As IConventionEntityTypeBuilder, targetEntityTypeBuilder As IConventionEntityTypeBuilder, navigationName As String, memberInfo As MemberInfo, context As IConventionContext(Of String))

Paramètres

sourceEntityTypeBuilder
IConventionEntityTypeBuilder

Générateur du type d’entité qui contenait la navigation.

targetEntityTypeBuilder
IConventionEntityTypeBuilder

Générateur du type d’entité cible de la navigation.

navigationName
String

Nom de navigation.

memberInfo
MemberInfo

Membre utilisé pour par la navigation.

context
IConventionContext<String>

Informations supplémentaires associées à l’exécution de la convention.

S’applique à