Table of Contents

Class LinksRoutingConvention

Namespace
System.Web.Http.OData.Routing.Conventions
Assembly
System.Web.Http.OData.dll

An implementation of IODataRoutingConvention that handles link manipulations.

public class LinksRoutingConvention : EntitySetRoutingConvention, IODataRoutingConvention
Inheritance
LinksRoutingConvention
Implements
Inherited Members

Constructors

LinksRoutingConvention()

public LinksRoutingConvention()

Methods

SelectAction(ODataPath, HttpControllerContext, ILookup<string, HttpActionDescriptor>)

Selects the action.

public override string SelectAction(ODataPath odataPath, HttpControllerContext controllerContext, ILookup<string, HttpActionDescriptor> actionMap)

Parameters

odataPath ODataPath

The odata path.

controllerContext HttpControllerContext

The controller context.

actionMap ILookup<string, HttpActionDescriptor>

The action map.

Returns

string