How to ensure entity re-usage while adding entity to another collection

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
1 answers

Hi Martin,

It all depends on what you want to achieve (or better to express what does the business need?)

Below a few examples of possible solutions.

Also, please take a look at this learning path, will help you to continue successful;