Partager via


NavigationAttributeConventionBase<TAttribute>.ProcessNavigationAdded Méthode

Définition

Surcharges

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

Appelé après l’ajout d’une navigation au type d’entité.

ProcessNavigationAdded(IConventionNavigationBuilder, TAttribute, IConventionContext<IConventionNavigationBuilder>)

Appelée après l’ajout d’une propriété de navigation qui a un attribut à un type d’entité.

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)

Appelé après l’ajout d’une navigation au type d’entité.

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, TAttribute, IConventionContext<IConventionNavigation>)

Appelée après l’ajout d’une propriété de navigation qui a un attribut à un type d’entité.

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs

Appelé après l’ajout d’une navigation au type d’entité.

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

Paramètres

navigationBuilder
IConventionNavigationBuilder

Générateur pour la navigation.

context
IConventionContext<IConventionNavigationBuilder>

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

Implémente

S’applique à

ProcessNavigationAdded(IConventionNavigationBuilder, TAttribute, IConventionContext<IConventionNavigationBuilder>)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs

Appelée après l’ajout d’une propriété de navigation qui a un attribut à un type d’entité.

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

Paramètres

navigationBuilder
IConventionNavigationBuilder

Générateur pour la navigation.

attribute
TAttribute

L'attribut.

context
IConventionContext<IConventionNavigationBuilder>

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

S’applique à

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs

Appelé après l’ajout d’une navigation au type d’entité.

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

Paramètres

relationshipBuilder
IConventionRelationshipBuilder

Générateur de la clé étrangère.

navigation
IConventionNavigation

Navigation.

context
IConventionContext<IConventionNavigation>

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

Implémente

S’applique à

ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, TAttribute, IConventionContext<IConventionNavigation>)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs

Appelée après l’ajout d’une propriété de navigation qui a un attribut à un type d’entité.

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

Paramètres

relationshipBuilder
IConventionRelationshipBuilder

Générateur de la relation.

navigation
IConventionNavigation

Navigation.

attribute
TAttribute

L'attribut.

context
IConventionContext<IConventionNavigation>

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

S’applique à