Table of Contents

Method ProcessNavigationAdded

Namespace
MongoDB.EntityFrameworkCore.Metadata.Conventions
Assembly
MongoDB.EntityFrameworkCore.dll

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

For every navigation added to the model that is an owned entity with a ColumnAttribute use the specified element name as an annotation to configure the element name used in the BSON documents.

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

Parameters

navigationBuilder IConventionNavigationBuilder

The builder for the navigation.

context IConventionContext<IConventionNavigationBuilder>

Additional information associated with convention execution.