Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] Allow creating a ODataRow from OValues with relations based on a OModel #328

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pathob
Copy link

@pathob pathob commented Jun 30, 2017

Sometimes, for example when reading OValues from a OForm, it is necessary to
convert them into a ODataRow with relation information in order to get these
related ODataRows. This can now be achieved by providing the base OModel to the
'toDataRow' method, that takes care of the relation type of the associated
OColumns and instantiates OX2XRecords based on the IDs if a relation is given.

pathob added 2 commits June 30, 2017 15:43
…a OModel

Sometimes, for example when reading OValues from a OForm, it is necessary to
convert them into a ODataRow with relation information in order to get these
related ODataRows. This can now be achieved by providing the base OModel to the
'toDataRow' method, that takes care of the relation type of the associated
OColumns and instantiates OX2XRecords based on the IDs if a relation is given.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant