Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
IEdmModel model = EdmxReader.Parse(XmlReader.Create("$metadata"));
IEdmEntityType product = model.FindDeclaredType("ODataDemo.Product") as IEdmEntityType;
var orderby = ODataUriParser.ParseOrderBy("ReleaseDate desc", model, product);
var filter = ODataUriParser.ParseFilter("ReleaseDate ge datetime'2012-11-19T00:00:00Z'", model, product);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment