EntityProjectionExpression.AddNavigationBinding Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework