閱讀英文版本

分享方式:


NavigationBackingFieldAttributeConvention.ProcessSkipNavigationAdded Method

Definition

Called after a skip navigation property that has an attribute is added to an entity type.

C#
public override void ProcessSkipNavigationAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder skipNavigationBuilder, Microsoft.EntityFrameworkCore.BackingFieldAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder> context);

Parameters

skipNavigationBuilder
IConventionSkipNavigationBuilder

The builder for the navigation.

attribute
BackingFieldAttribute

The attribute.

context
IConventionContext<IConventionSkipNavigationBuilder>

Additional information associated with convention execution.

Applies to

產品 版本
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0