EntityProjectionExpression.BindNavigation(INavigation) 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.
Binds a navigation with this entity projection to get entity shaper for the target entity type of the navigation which was previously added using AddNavigationBinding(INavigation, EntityShaperExpression) method.
public virtual Microsoft.EntityFrameworkCore.Query.EntityShaperExpression BindNavigation (Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
public virtual Microsoft.EntityFrameworkCore.Query.EntityShaperExpression? BindNavigation (Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
abstract member BindNavigation : Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Query.EntityShaperExpression
override this.BindNavigation : Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Query.EntityShaperExpression
Public Overridable Function BindNavigation (navigation As INavigation) As EntityShaperExpression
Parameters
- navigation
- INavigation
A navigation to bind.
Returns
An entity shaper expression for the target entity type of the navigation.
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