IODataPathHandler.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
ODataPath Parse(
IEdmModel model,
string serviceRoot,
string odataPath
)
ODataPath^ Parse(
IEdmModel^ model,
String^ serviceRoot,
String^ odataPath
)
abstract Parse :
model:IEdmModel *
serviceRoot:string *
odataPath:string -> ODataPath
Function Parse (
model As IEdmModel,
serviceRoot As String,
odataPath As String
) As ODataPath
Parameters
model
Type: Microsoft.OData.Edm.IEdmModelThe model to use for path parsing.
serviceRoot
Type: System.StringThe service root of the OData path.
odataPath
Type: System.StringThe OData path to parse.
Return Value
Type: System.Web.OData.Routing.ODataPath
A parsed representation of the URI, or null if the URI does not match the model.
See Also
IODataPathHandler Interface
System.Web.OData.Routing Namespace
Return to top