共用方式為


NavigationBackingFieldAttributeConvention.ProcessNavigationAdded 方法

定義

在具有屬性的導覽屬性新增至實體類型之後呼叫。

public override void ProcessNavigationAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder navigationBuilder, Microsoft.EntityFrameworkCore.BackingFieldAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> context);
override this.ProcessNavigationAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder * Microsoft.EntityFrameworkCore.BackingFieldAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionNavigationBuilder> -> unit
Public Overrides Sub ProcessNavigationAdded (navigationBuilder As IConventionNavigationBuilder, attribute As BackingFieldAttribute, context As IConventionContext(Of IConventionNavigationBuilder))

參數

navigationBuilder
IConventionNavigationBuilder

巡覽的產生器。

attribute
BackingFieldAttribute

屬性。

context
IConventionContext<IConventionNavigationBuilder>

與慣例執行相關聯的其他資訊。

適用於