Sdílet prostřednictvím


INavigationRemovedConvention.ProcessNavigationRemoved Metoda

Definice

Volá se po odebrání navigace z typu entity.

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

Parametry

sourceEntityTypeBuilder
IConventionEntityTypeBuilder

Tvůrce pro typ entity, který obsahoval navigaci.

targetEntityTypeBuilder
IConventionEntityTypeBuilder

Tvůrce pro cílový typ entity navigace.

navigationName
String

Název navigace.

memberInfo
MemberInfo

Člen používaný pro navigaci.

context
IConventionContext<String>

Další informace související se spuštěním konvence

Platí pro