Share via


ODataRoutingConventions Class

 

Provides helper methods for creating routing conventions.

Namespace:   System.Web.OData.Routing.Conventions
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Routing.Conventions.ODataRoutingConventions

Syntax

public static class ODataRoutingConventions
public ref class ODataRoutingConventions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type ODataRoutingConventions = class end
Public NotInheritable Class ODataRoutingConventions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateDefault()

Creates a mutable list of the default OData routing conventions.

System_CAPS_pubmethodSystem_CAPS_static CreateDefaultWithAttributeRouting(HttpConfiguration, IEdmModel)

Creates a mutable list of the default OData routing conventions with attribute routing enabled.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Routing.Conventions Namespace

Return to top