How to establish one-to-one, one to many, and many to many relationships between ContentItems,please? #15207
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Please only use issue when there is an issue. Otherwise, please use discussion. In OC there is no relations between table as you would see in typical ORM or database structure. You can use ContentPickerField on ContentTypeA so then the user create an instance of |
Beta Was this translation helpful? Give feedback.
-
I sure wish a guy who is not only smart but very handsome too would've written a docs page about just this: https://docs.orchardcore.net/en/latest/docs/topics/content-relationships/ :D. |
Beta Was this translation helpful? Give feedback.
Please only use issue when there is an issue. Otherwise, please use discussion.
In OC there is no relations between table as you would see in typical ORM or database structure.
You can use ContentPickerField on ContentTypeA so then the user create an instance of
A
they would have a way to select a single or multiple ContentTypeB.