LinqToQuerystring
LinqToQuerystring copied to clipboard
A lightweight subset of oData querystring conventions that works with any IQueryable
Is there a workaround when you want to search for "&" since it is a delimiter... Not it breaks the query... Query example: http://localhost/API/Service?$filter=substringof('&',tolower(Name)) eq true and (Status eq 0)&$orderby=Name&$skip=0&$top=5
**$orderby=Property1 desc,Property2 asc** returns an ordered list by Property1 but ignores Property2 even though all items has the same value for Property1 Is there a way to order by multiple...
Hi, I noticed a bug when selecting multiple Complex properties using the Select statement. Problem is it was using the name of the complex class as the name of the...
Cant't locate the current c# literal documentation at the moment but looking at F# : https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/literals It seems like D, F and M should all be valid as suffixes for...
It would be awesome to see geo functionalities such as described here: http://www.odata.org/blog/geospatial-properties/ ``` /Me/Friends$filter=geo.distance(PlannedLocations, geography'SRID=12345;POINT(-127.89734578345 45.234534534)' lt 900.0 and PlannedTime eq datetime'2011-12-12T13:36:00' ``` Any plans to integrate it in...
Hi, Did anyone manage to block/ignore some operators to protect the API? For example to be able to do some of the ideas in this blog https://blogs.msdn.microsoft.com/webdev/2013/02/06/protect-your-queryable-api-with-the-validation-feature-in-asp-net-web-api-odata/ But it doesn't...
Hi guys!! I volunteer to port the project to dotnet core. Would you accept such a big PR? I won't change no code other than compatibility things. But project files...
I'm receiving the following exception when performing a query using the substringof function. The same error happens when trying endswith. at LinqToQuerystring.TreeNodes.Base.TreeNode.get_ChildNodes() at LinqToQuerystring.TreeNodes.FilterNode.BuildLinqExpression(IQueryable query, Expression expression, Expression item) at...
I have been using LinqToQueryString for a while now and for my startup I needed enums to be treated as string since I moved to this from odata. I looked...