InversePropertyAttributeConvention.ProcessNavigationAdded Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
ProcessNavigationAdded(IConventionNavigationBuilder, InversePropertyAttribute, IConventionContext<IConventionNavigationBuilder>) | |
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, InversePropertyAttribute, IConventionContext<IConventionNavigation>) |
Chiamato dopo l'aggiunta di una proprietà di navigazione con un attributo a un tipo di entità. |
ProcessNavigationAdded(IConventionNavigationBuilder, InversePropertyAttribute, IConventionContext<IConventionNavigationBuilder>)
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))
Parametri
- navigationBuilder
- IConventionNavigationBuilder
- attribute
- InversePropertyAttribute
Si applica a
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, InversePropertyAttribute, IConventionContext<IConventionNavigation>)
Chiamato dopo l'aggiunta di una proprietà di navigazione con un attributo a un tipo di 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))
Parametri
- relationshipBuilder
- IConventionRelationshipBuilder
Generatore per la relazione.
- navigation
- IConventionNavigation
Struttura di spostamento.
- attribute
- InversePropertyAttribute
Attributo.
- context
- IConventionContext<IConventionNavigation>
Informazioni aggiuntive associate all'esecuzione della convenzione.