Share via


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

 

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

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

Syntax

public void HasNavigationPropertiesLink(
    IEnumerable<NavigationPropertyConfiguration> navigationProperties,
    Func<EntityInstanceContext<TEntityType>, IEdmNavigationProperty, Uri> navigationLinkFactory,
    bool followsConventions
)
public:
void HasNavigationPropertiesLink(
    IEnumerable<NavigationPropertyConfiguration^>^ navigationProperties,
    Func<EntityInstanceContext<TEntityType>^, IEdmNavigationProperty^, Uri^>^ navigationLinkFactory,
    bool followsConventions
)
member HasNavigationPropertiesLink : 
        navigationProperties:IEnumerable<NavigationPropertyConfiguration> *
        navigationLinkFactory:Func<EntityInstanceContext<'TEntityType>, IEdmNavigationProperty, Uri> *
        followsConventions:bool -> unit
Public Sub HasNavigationPropertiesLink (
    navigationProperties As IEnumerable(Of 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