NavigationLinkBuilder Constructor (Func<EntityInstanceContext, IEdmNavigationProperty, Uri>, Boolean)
Initializes a new instance of the NavigationLinkBuilder class.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public NavigationLinkBuilder(
Func<EntityInstanceContext, IEdmNavigationProperty, Uri> navigationLinkFactory,
bool followsConventions
)
public:
NavigationLinkBuilder(
Func<EntityInstanceContext^, IEdmNavigationProperty^, Uri^>^ navigationLinkFactory,
bool followsConventions
)
new :
navigationLinkFactory:Func<EntityInstanceContext, IEdmNavigationProperty, Uri> *
followsConventions:bool -> NavigationLinkBuilder
Public Sub New (
navigationLinkFactory As Func(Of EntityInstanceContext, IEdmNavigationProperty, Uri),
followsConventions As Boolean
)
Parameters
navigationLinkFactory
Type: System.Func<EntityInstanceContext, IEdmNavigationProperty, Uri>The navigation link factory for creating navigation links.
followsConventions
Type: System.BooleanRepresents whether this factory follows OData conventions or not.
See Also
NavigationLinkBuilder Class
System.Web.Http.OData.Builder Namespace
Return to top