With the basic support for groupby and aggregates at the Server ( https://github.com/OData/WebApi/issues/70 ), i think the Client should too be enabled to query those new features.
Actually the Microsoft.OData.Client.dll ( DataServiceQuery ) don't support make those queries.
It throws "An unhandled exception of type 'System.NotSupportedException' occurred in Microsoft.OData.Client.dll - The method 'GroupBy' is not supported".
But if you send the request manually it works.
With the basic support for groupby and aggregates at the Server ( https://github.com/OData/WebApi/issues/70 ), i think the Client should too be enabled to query those new features.
Actually the Microsoft.OData.Client.dll ( DataServiceQuery ) don't support make those queries. It throws "An unhandled exception of type 'System.NotSupportedException' occurred in Microsoft.OData.Client.dll - The method 'GroupBy' is not supported". But if you send the request manually it works.
Ex: Users.GroupBy(user => user.Login); as http://localhost/odata/Users?$apply=groupby((Login));