2.2.6.3.11 InlineCount Representation (for Collections of Links)

Applies to the OData 2.0 and OData 3.0 protocols

This section defines the semantics of the "countNVP" grammar rule in section 2.2.6.3.10, which is supported only in the OData 2.0 and OData 3.0 protocols.

A request URI MAY contain an $inlinecount system query option to indicate that the count of the number of links represented by the query is included in the collection of links returned from the data service. If such a query string token is present, the response MUST include the countNVP name/value pair (before any linkURINVP name/value pairs) with the value of the name/value pair equal to the count of the total number of links addressed by the request URI.