Last active
August 29, 2015 14:06
-
-
Save ODataTeam/8356357097d6536f2edf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var parser = new ODataUriParser( | |
extModel.Model, | |
ServiceRoot, | |
new Uri("http://demo/odata.svc/People(1)/Addr/TestNS.GetZip")); | |
var path = parser.ParsePath(); | |
var parser2 = new ODataUriParser( | |
extModel.Model, | |
ServiceRoot, | |
new Uri("http://demo/odata.svc/People(1)/addr/getzip")) | |
{ | |
Resolver = new UnqualifiedODataUriResolver { EnableCaseInsensitive = true } | |
}; | |
// Identical to path | |
var path2 = parser2.ParsePath(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment