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>

与约定执行关联的其他信息。

适用于