Share via


EntityProjectionExpression.AddNavigationBinding Method

Definition

Adds a navigation binding for this entity projection when the target entity type of the navigation is owned or weak.

public virtual void AddNavigationBinding (Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Query.EntityShaperExpression entityShaper);
abstract member AddNavigationBinding : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Query.EntityShaperExpression -> unit
override this.AddNavigationBinding : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Query.EntityShaperExpression -> unit
Public Overridable Sub AddNavigationBinding (navigation As INavigation, entityShaper As EntityShaperExpression)

Parameters

navigation
INavigation

A navigation to add binding for.

entityShaper
EntityShaperExpression

An entity shaper expression for the target type.

Applies to