Data connection between entities?

0
hello To explain what I want to implement, first, there is one entity called SelectData and eight additional entities, and these eight entities are associated with SelectData in a one-to-many relationship. At this time, if data is entered into an entity called WorkStatus among the eight, a value called WorkStatus is created in the datatype property of SelectData. If multiple data are entered into the WorkStatus entity, the data increases in Work Status, but only one value, WorkStatus, exists in the datatype property of SelectData. And when I look up WorkStatus in the datatype property of this SelectData, I want to look up all the data of the connected WorkStatus entity.
asked
1 answers
1

Sometimes it helps if you add a picture of your domain model because now it is hard to understand the relation between WorkStatus and SelectData and if multiple WorkStatus objects have a reference with each other. You could create self references in WorkStatus if they are connected to each other. You will probably need XPath retrievals where you based on the WorkStatus can retrieve the other objects. But without a clear picture of your domain model and the meaning of the entities it is hard to give you advice.

 

Regards,

Ronald

answered