Share via


NavigationSourceConfiguration<TEntityType>.HasNavigationPropertyLink Method (NavigationPropertyConfiguration, Func<EntityInstanceContext<TEntityType>, IEdmNavigationProperty, Uri>, Boolean)

 

Configures the navigation link for the given navigation property for entities from this navigation source.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public void HasNavigationPropertyLink(
    NavigationPropertyConfiguration navigationProperty,
    Func<EntityInstanceContext<TEntityType>, IEdmNavigationProperty, Uri> navigationLinkFactory,
    bool followsConventions
)
public:
void HasNavigationPropertyLink(
    NavigationPropertyConfiguration^ navigationProperty,
    Func<EntityInstanceContext<TEntityType>^, IEdmNavigationProperty^, Uri^>^ navigationLinkFactory,
    bool followsConventions
)
member HasNavigationPropertyLink : 
        navigationProperty:NavigationPropertyConfiguration *
        navigationLinkFactory:Func<EntityInstanceContext<'TEntityType>, IEdmNavigationProperty, Uri> *
        followsConventions:bool -> unit
Public Sub HasNavigationPropertyLink (
    navigationProperty As NavigationPropertyConfiguration,
    navigationLinkFactory As Func(Of EntityInstanceContext(Of TEntityType), IEdmNavigationProperty, Uri),
    followsConventions As Boolean
)

Parameters

  • followsConventions
    Type: System.Boolean

    true if the factory follows OData navigation link conventions; otherwise, false.

See Also

NavigationSourceConfiguration<TEntityType> Class
System.Web.OData.Builder Namespace

Return to top