RequiredNavigationAttributeConvention.ProcessSkipNavigationAdded Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called after a skip navigation property that has an attribute is added to an entity type.
public override void ProcessSkipNavigationAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder skipNavigationBuilder, System.ComponentModel.DataAnnotations.RequiredAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder> context);
override this.ProcessSkipNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder * System.ComponentModel.DataAnnotations.RequiredAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder> -> unit
Public Overrides Sub ProcessSkipNavigationAdded (skipNavigationBuilder As IConventionSkipNavigationBuilder, attribute As RequiredAttribute, context As IConventionContext(Of IConventionSkipNavigationBuilder))
Parameters
- skipNavigationBuilder
- IConventionSkipNavigationBuilder
The builder for the navigation.
- attribute
- RequiredAttribute
The attribute.
Additional information associated with convention execution.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.