Interface IODataPathHandler
Exposes the ability to parse an OData path as an ODataPath and convert an ODataPath into an OData link.
public interface IODataPathHandler
Methods
Link(ODataPath)
Converts an instance of ODataPath into an OData link.
string Link(ODataPath path)
Parameters
path
ODataPathThe OData path to convert into a link.
Returns
- string
The generated OData link.
Parse(IEdmModel, string)
Parses the specified OData path as an ODataPath that contains additional information about the EDM type and entity set for the path.
ODataPath Parse(IEdmModel model, string odataPath)
Parameters
model
IEdmModelThe model to use for path parsing.
odataPath
stringThe OData path to parse.
Returns
- ODataPath
A parsed representation of the URI, or null if the URI does not match the model.