How to ensure entity re-usage while adding entity to another collection
0
Hi, I have in an app a collection of entities: employee of all employees [emplyee] *-1> [employees] members of a team: [employee] *-1> [team] [team] *-1> [teams] How to achieve, to add an employee from the employees collection to a team? If I … create a page to manage teams (in a teams collection), create a page to create/edit a team, to add employees to the team, … how to ensure, that the employees are added from the employees collection and are not newly created? Thanks in advance! Best regards Martin
asked
Martin Lemburg
1 answers
1
Hi Martin,
It all depends on what you want to achieve (or better to express what does the business need?)