ODataHttpRouteCollectionExtensions Class

Provides extension methods for the HttpRouteCollection class.

Inheritance Hierarchy

System.Object
  System.Web.Http.ODataHttpRouteCollectionExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ODataHttpRouteCollectionExtensions
'Usage
public static class ODataHttpRouteCollectionExtensions
[ExtensionAttribute]
public ref class ODataHttpRouteCollectionExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ODataHttpRouteCollectionExtensions =  class end
public final class ODataHttpRouteCollectionExtensions

Methods

  Name Description
Public methodStatic member MapODataRoute(HttpRouteCollection, String, String, IEdmModel) Maps the specified OData route.
Public methodStatic member MapODataRoute(HttpRouteCollection, String, String, IEdmModel, ODataBatchHandler) Maps the specified OData route. When the batchHandler is provided, it will create a 'batch' endpoint to handle the batch requests.
Public methodStatic member MapODataRoute(HttpRouteCollection, String, String, IEdmModel, IODataPathHandler, IEnumerable<IODataRoutingConvention>) Maps the specified OData route.
Public methodStatic member MapODataRoute(HttpRouteCollection, String, String, IEdmModel, IODataPathHandler, IEnumerable<IODataRoutingConvention>, ODataBatchHandler) Maps the specified OData route. When the batchHandler is provided, it will create a 'batch' endpoint to handle the batch requests.

Top

Remarks

No content here will be updated; please do not add material here.

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

Reference

System.Web.Http Namespace