You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Mark Sztainbok (JIRA)" <ji...@apache.org> on 2014/10/28 01:16:33 UTC
[jira] [Created] (OLINGO-470) V3 OData client needs to support
creating relationships using $links
Mark Sztainbok created OLINGO-470:
-------------------------------------
Summary: V3 OData client needs to support creating relationships using $links
Key: OLINGO-470
URL: https://issues.apache.org/jira/browse/OLINGO-470
Project: Olingo
Issue Type: Bug
Components: odata4-client
Affects Versions: V4 4.0.0-beta-01
Reporter: Mark Sztainbok
Fix For: (Java) V4 4.0.0-beta-02
Currently Olingo does not allow for relationships to be created via $link URLs (OData V3 Spec section 10.2.4) when using the client. This required though as is commonly used to establish relationships between entities in an OData API (e.g. http://msdn.microsoft.com/en-us/library/azure/dn151600.aspx and http://msdn.microsoft.com/en-us/library/azure/dn151607.aspx)
WCF Data Services Client supports adding relationships via the AddLink method (http://msdn.microsoft.com/en-us/library/system.data.services.client.dataservicecontext.addlink(v=vs.103).aspx) for 1 to many and many to many relationships and SetLink (http://msdn.microsoft.com/en-us/library/system.data.services.client.dataservicecontext.setlink(v=vs.103).aspx) method for 1:1 relationships and DeleteLink to remove a link (http://msdn.microsoft.com/en-us/library/system.data.services.client.dataservicecontext.deletelink(v=vs.103).aspx)
Olingo needs to have some similar functionality.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)