LinqToQuerystring
LinqToQuerystring copied to clipboard
A lightweight subset of oData querystring conventions that works with any IQueryable
...rves the type parameters of the query.
Updated to attempt to convert the target object to a datetime before applying a datetime function. Issue #53.
If I have a list containing some date fields, using the ODATA date functions (day, year, hour...) against the object (which is a DATETIME) raises the following exception: System.Object does...
When using the LinqToQueryableAttibute in the webApi2 solution any url encoded characters are not decoded: Within LinqToQueryable.cs (27) => when the query string is pulled it is not checked for...
The following fails: http://localhost/api/Services/Widgets?$orderby=Created+desc Whereas the following succeeds: http://localhost/api/Services/Widgets?$orderby=Created desc Only difference is a space between the Created and desc.
I'm not sure if this is a bug or just my sloppy code but the following query works with Microsoft's OData implementation but crashes when I switch over to LinqToQuerystring...
When I parse my OData string with this datetime: `datetime'2014-07-10T00:00:00.000'` I get an error: `String was not recognized as a valid DateTime` I noticed this code in `DateTimeNode.cs` ``` var...
I assume this is more of the question than an issue. I have an object that looks a little like this `Truck{ Driver[] Drivers }` in driver there is an...
Hi Pete! I've got a requirement to add take/skip/filter on a sub-property for an resource like this: ``` { "Owner": "123", // ... more properties ... "Activities": [ { "ActivityType":...
Hello, LinqToQuerystring is a great tool. I tried to use microsoft webapi odata in my web api controllers but $inlinecount just doesn't work out of the box, you have to...