Creates a mutable list of the default OData routing conventions with attribute routing enabled.
Namespace:   System.Web.OData.Routing.Conventions
Assembly:  System.Web.OData (in System.Web.OData.dll)
Syntax
public static IList<IODataRoutingConvention> CreateDefaultWithAttributeRouting(
    HttpConfiguration configuration,
    IEdmModel model
)
public:
static IList<IODataRoutingConvention^>^ CreateDefaultWithAttributeRouting(
    HttpConfiguration^ configuration,
    IEdmModel^ model
)
static member CreateDefaultWithAttributeRouting : 
        configuration:HttpConfiguration *
        model:IEdmModel -> IList<IODataRoutingConvention>
Public Shared Function CreateDefaultWithAttributeRouting (
    configuration As HttpConfiguration,
    model As IEdmModel
) As IList(Of IODataRoutingConvention)
Parameters
- configuration 
 Type: System.Web.Http.HttpConfiguration- The server configuration. 
- model 
 Type: Microsoft.OData.Edm.IEdmModel- The EDM model to use for parsing OData paths. 
Return Value
Type: System.Collections.Generic.IList<IODataRoutingConvention>
A mutable list of the default OData routing conventions.
See Also
ODataRoutingConventions Class
System.Web.OData.Routing.Conventions Namespace
Return to top