cancel
Showing results for 
Search instead for 
Did you mean: 

Dependent objects (not content based)

cmorgia
Champ in-the-making
Champ in-the-making
Dear all,
I would like to expose my difficulties here because I'm sure that you guys can help me about that.

I have a 1-N relationship in my model like Order-OrderItem however I don't want to expose the OrderItem as an independent object but as something that should be living only in the context of the containing Order object.

In my case is like having a table of some rows (the OrderItem objects) that are bound to the same parent.

My idea was to enable the user, during the parent creation, to fill something like a table and have the OrderItem defined by that.
It is quite different from creating a child and then linking it to the parent…

Any ideas?

Thanks,
Claudio
1 REPLY 1

smicyk
Champ in-the-making
Champ in-the-making
Hi,

if you don't want to have child association (Order -> OrderItem) then thare are two solutions which come to my mind. First, you could define all properties from OrderItem as an aspect and add it to Order. All properties should have multiple set to true. Second solution, would be to define one property in Order object which keeps your table as csv.

I hope it helps,
smicyk