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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework