Langue

InversePropertyAttributeConvention.ProcessNavigationAdded Méthode

Définition

Surcharges

Nom Description
ProcessNavigationAdded(IConventionNavigationBuilder, InversePropertyAttribute, 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, InversePropertyAttribute, IConventionContext<IConventionNavigation>)

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

ProcessNavigationAdded(IConventionNavigationBuilder, InversePropertyAttribute, IConventionContext<IConventionNavigationBuilder>)

Source:
InversePropertyAttributeConvention.cs
Source:
InversePropertyAttributeConvention.cs
Source:
InversePropertyAttributeConvention.cs
Source:
InversePropertyAttributeConvention.cs
Source:
InversePropertyAttributeConvention.cs
Source:
InversePropertyAttributeConvention.cs
Source:
InversePropertyAttributeConvention.cs

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

public override void ProcessNavigationAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder navigationBuilder, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> context);
override this.ProcessNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder * System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> -> unit
Public Overrides Sub ProcessNavigationAdded (navigationBuilder As IConventionNavigationBuilder, attribute As InversePropertyAttribute, context As IConventionContext(Of IConventionNavigationBuilder))

Paramètres

navigationBuilder
IConventionNavigationBuilder

Générateur de la navigation.

attribute
InversePropertyAttribute

Attribut.

context
IConventionContext<IConventionNavigationBuilder>

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

S’applique à

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

Source:
InversePropertyAttributeConvention.cs
Source:
InversePropertyAttributeConvention.cs

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

public override void ProcessNavigationAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder relationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> context);
override this.ProcessNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionRelationshipBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation * System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation> -> unit
Public Overrides Sub ProcessNavigationAdded (relationshipBuilder As IConventionRelationshipBuilder, navigation As IConventionNavigation, attribute As InversePropertyAttribute, context As IConventionContext(Of IConventionNavigation))

Paramètres

relationshipBuilder
IConventionRelationshipBuilder

Générateur de la relation.

navigation
IConventionNavigation

Navigation.

attribute
InversePropertyAttribute

Attribut.

context
IConventionContext<IConventionNavigation>

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

S’applique à