Sdílet prostřednictvím


ForeignKeyPropertyDiscoveryConvention.ProcessNavigationAdded Metoda

Definice

Přetížení

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

Volá se po přidání navigace do typu entity.

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)

Volá se po přidání navigace do typu entity.

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

Zdroj:
ForeignKeyPropertyDiscoveryConvention.cs
Zdroj:
ForeignKeyPropertyDiscoveryConvention.cs
Zdroj:
ForeignKeyPropertyDiscoveryConvention.cs
Zdroj:
ForeignKeyPropertyDiscoveryConvention.cs
Zdroj:
ForeignKeyPropertyDiscoveryConvention.cs

Volá se po přidání navigace do typu entity.

public virtual void ProcessNavigationAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder navigationBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> context);
abstract member ProcessNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> -> unit
override this.ProcessNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> -> unit
Public Overridable Sub ProcessNavigationAdded (navigationBuilder As IConventionNavigationBuilder, context As IConventionContext(Of IConventionNavigationBuilder))

Parametry

navigationBuilder
IConventionNavigationBuilder

Tvůrce navigace.

context
IConventionContext<IConventionNavigationBuilder>

Další informace související s prováděním konvencí

Implementuje

Platí pro

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)

Zdroj:
ForeignKeyPropertyDiscoveryConvention.cs
Zdroj:
ForeignKeyPropertyDiscoveryConvention.cs

Volá se po přidání navigace do typu entity.

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

Parametry

relationshipBuilder
IConventionRelationshipBuilder

Tvůrce cizího klíče.

navigation
IConventionNavigation

Navigace.

context
IConventionContext<IConventionNavigation>

Další informace související s prováděním konvencí

Implementuje

Platí pro