Table of Contents

Interface INavigationAddedConvention

Namespace
Microsoft.EntityFrameworkCore.Metadata.Conventions
Assembly
Microsoft.EntityFrameworkCore.dll

Represents an operation that should be performed when a navigation is added to the entity type.

public interface INavigationAddedConvention : IConvention

Remarks

See Model building conventions for more information and examples.

Methods

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

Called after a navigation is added to the entity type.

void ProcessNavigationAdded(IConventionNavigationBuilder navigationBuilder, IConventionContext<IConventionNavigationBuilder> context)

Parameters

navigationBuilder IConventionNavigationBuilder

The builder for the navigation.

context IConventionContext<IConventionNavigationBuilder>

Additional information associated with convention execution.