Closed christophanneken closed 3 years ago
Hey! There is currently no function. I will add it in the near future.
Hi, I implemented it by myself. Below the changes I made.
IODataOptionExpand.cs
TODataOption Count(bool value = true);
ODataQueryExpand.cs
public IODataQueryExpand<TEntity> Count(bool value = true)
{
_stringBuilder.Append($"{ODataOptionNames.Count}{QuerySeparators.EqualSign}{value.ToString().ToLower()}{QuerySeparators.Nested}");
return this;
}
I want to count the elements of an expand operation e.g.
Is there another way to do so or is this feature currently missing