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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för