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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework