Share via


DefaultODataPathHandler.Parse Method (IEdmModel, String, String)

 

Parses the specified OData path as an ODataPath that contains additional information about the EDM type and entity set for the path.

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

Syntax

public virtual ODataPath Parse(
    IEdmModel model,
    string serviceRoot,
    string odataPath
)
public:
virtual ODataPath^ Parse(
    IEdmModel^ model,
    String^ serviceRoot,
    String^ odataPath
)
abstract Parse : 
        model:IEdmModel *
        serviceRoot:string *
        odataPath:string -> ODataPath
override Parse : 
        model:IEdmModel *
        serviceRoot:string *
        odataPath:string -> ODataPath
Public Overridable Function Parse (
    model As IEdmModel,
    serviceRoot As String,
    odataPath As String
) As ODataPath

Parameters

  • serviceRoot
    Type: System.String

    The service root of the OData path.

Return Value

Type: System.Web.OData.Routing.ODataPath

A parsed representation of the path, or null if the path does not match the model.

Implements

IODataPathHandler.Parse(IEdmModel, String, String)

See Also

DefaultODataPathHandler Class
System.Web.OData.Routing Namespace

Return to top