I am trying to issue aggregate queries to my oData server, but i get errors, dispute having the exact same code as in documentation
var product = await client
.For("People")
.Filter("FirstName ne 'Joni'")
.Count()
.FindScalarAsync();
Code in documentation
var x = ODataFilter.Expression;
var count = await _client
.For("Products")
.Filter("ProductName+eq+%27Chai%27")
.Count()
.FindScalarAsync();
Assert.Equal(1, count);
From: https://github.com/object/Simple.OData.Client/wiki/Retrieving-data-matching-search-criteria
In this same case, why are they declaring "x"? It is never used.
Also, how would i go about accessing functions like Min/Max that are defined here: