NavigationBackingFieldAttributeConvention.ProcessNavigationAdded Method

Definition

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

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))

Parameters

navigationBuilder
IConventionNavigationBuilder

The builder for the navigation.

attribute
BackingFieldAttribute

The attribute.

context
IConventionContext<IConventionNavigationBuilder>

Additional information associated with convention execution.

Applies to