I would like to attach a project that contains only the many-to-many relationship, and it includes deletion, addition, and modification of tables. I am trying to understand this relationship, thanks
Hi S A,
I would suggest to go through the guided path of becoming an OutSystems Reactive developer, particularly the Modeling data course, where this concept is explained and demoed.
Besides that, you have the create many to many relationship documentation where it is explained, step by step and with screenshots, how to do it.
Kind Regards,
João
Many to many relationship can be understood by an example such as: Many students can have many subjects and many subject can have may students
Consider a scenario there are 10 compulsory subjects and 70 students in a class.
1 subject -> 70 students
1 student -> 10 subjects
Here you can to create 3 entities : Student, Subject, Marks
and the "Marks" entity must have 2 identifiers: Student Identifier and Subject Identifier.
Hello S A,
For Many to many relationship you have to create one more junction entity which has :
1.Own unique identifier
2.Reference attributes of other two entities.
suppose there are Order and Product entity: You have to add one more junction entity Named as OrderProduct:
Attributes will be:OrderId and ProductId(Reference attributes)Data types will be: OrderIdentifier and ProductIdentifier respectively.
Regards,
Neha
Here is the better explanation with example. Please have a look at it,
https://www.outsystems.com/forums/discussion/79931/many-to-many/
in addition you can watch below video,
https://www.youtube.com/watch?v=tlTw4ekOrfA
Thanks.
Hi SA,
Please go through the link which i mention below it will help to clear the many to many