Hi All,

RetrieveRequestFactory provides following methods


-   ODataEntityRequest<ClientEntity> getEntityRequest(URI uri)

Gets a uri request returning a single OData entity.


-   ODataEntitySetRequest<ClientEntitySet> getEntitySetRequest(URI uri)



Gets a uri request returning a set of one or more OData entities.

If we know that the expected output is a set/collection of entities, we use 
getEntitySetRequest method. If we know that the expected output is a single 
OData entity, we use getEntityRequest method.

But if the expected output is not known i.e. it can either be a single OData 
entity or a collection of OData entities, is there any way to construct such 
requests using Olingo ?


Thanks,
Sumit

Reply via email to