Share via


RequiredNavigationAttributeConvention.ProcessSkipNavigationAdded Method

Definition

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.

context
IConventionContext<IConventionSkipNavigationBuilder>

Additional information associated with convention execution.

Applies to