Table of Contents

Class ODataRouteConstants

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

This class contains route constants for OData.

public static class ODataRouteConstants
Inheritance
ODataRouteConstants
Inherited Members

Fields

Action

Route data key for the action name.

public static readonly string Action

Field Value

string

Batch

Route template suffix for OData batch.

public static readonly string Batch

Field Value

string

ConstraintName

Parameter name to use for the OData path route constraint.

public static readonly string ConstraintName

Field Value

string

Controller

Route data key for the controller name.

public static readonly string Controller

Field Value

string

Key

Route data key for entity keys.

public static readonly string Key

Field Value

string

NavigationProperty

Route data key for the navigation property name when manipulating links.

public static readonly string NavigationProperty

Field Value

string

ODataPath

Route variable name for the OData path.

public static readonly string ODataPath

Field Value

string

ODataPathTemplate

Wildcard route template for the OData path route variable.

public static readonly string ODataPathTemplate

Field Value

string

RelatedKey

Route data key for the related key when deleting links.

public static readonly string RelatedKey

Field Value

string

VersionConstraintName

Parameter name to use for the OData version route constraint.

public static readonly string VersionConstraintName

Field Value

string