StructuralTypeProjectionExpression.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, StructuralTypeShaperExpression) method.
public virtual Microsoft.EntityFrameworkCore.Query.StructuralTypeShaperExpression? BindNavigation (Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
abstract member BindNavigation : Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Query.StructuralTypeShaperExpression
override this.BindNavigation : Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Query.StructuralTypeShaperExpression
Public Overridable Function BindNavigation (navigation As INavigation) As StructuralTypeShaperExpression
Parameters
- navigation
- INavigation
A navigation to bind.
Returns
An entity shaper expression for the target entity type of the navigation.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for