Created
September 15, 2014 06:53
-
-
Save ODataTeam/09e1860411b8feda8659 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/PetSet(Id=1, Color=TestNS.Color'Blue')/TestNS.HasColor(col=TestNS.Color'Blue')")); | |
var path = parser.ParsePath(); | |
var parser2 = new ODataUriParser( | |
extModel.Model, | |
ServiceRoot, | |
new Uri("http://demo/odata.svc/petset(id=1, color='Blue')/hascolor(COL='Blue')")) | |
{ | |
Resolver = new AllInOneResolver { 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