Share via


OwnedNavigationBuilder.Navigation(String) Method

Definition

Returns an object that can be used to configure an existing navigation property from the owned type to its owner. It is an error for the navigation property not to exist.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.NavigationBuilder Navigation (string navigationName);
abstract member Navigation : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.NavigationBuilder
override this.Navigation : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.NavigationBuilder
Public Overridable Function Navigation (navigationName As String) As NavigationBuilder

Parameters

navigationName
String

The name of the navigation property to be configured.

Returns

An object that can be used to configure the navigation property.

Applies to