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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework