2.2.6.5.5.1 InlineCount Representation (for Collections of Links)

Applies to the OData 2.0 and OData 3.0 protocols

This section defines an extended representation of a collection of links from that described in section 2.2.6.5.5. This representation of a collection of links 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 to be included in the collection of links returned by a data service.

The count value included in the result MUST be enclosed in an m:count element which MUST be the first child element of the root links element.