42
Views
5
Comments
1 to 1 relationship
Question

I have a exercice in 1-to-1 Relationship and I made the same thing in the tutorial and the relationship is different, I not have sure but is the same thing. Thank you

2024-08-27 11-35-25
Ajay Anthony

Hello Vitor, You can refer this document to know more about one to one https://success.outsystems.com/documentation/11/building_apps/data_management/data_modeling/entity_relationships/create_a_one_to_one_relationship/

In short: One record from the parent table corresponds to only record in the Child table,  If the PrimaryKey(Entity Identifier) datatype of an Entity is set to another EntityId, then it is called one to one relationship.

Example: User and ProfilePicture. One User can have only one Profile Picture, so we change the datatype of the primary Key (Entity Identifier) to UserIdentitifer.

Can you elobrate your question or share screenshot of the relationship you created for more details.

2019-01-07 16-04-16
Siya
 
MVP

Believe you are referring to "Modeling Data 1-to-1 Relationships Exercise" from "Becoming a Web Developer". Could you please clarify what exact problem you facing with this assignment ? 

2024-05-14 05-39-17
Jothikarthika - EONE

Hi Vitor Dias ,

Can you provide detail explain about requirements.

Refer this documentation for your reference

https://success.outsystems.com/documentation/11/building_apps/data_management/data_modeling/entity_relationships/create_a_one_to_one_relationship/


Thanks

Jothikarthika

2023-12-14 09-56-57
Yogesh Javir

Hello ,
Try to associate entity A attribute (identifier) with another entity attribute.
By doing this stuff you will able to see 1-to-1 relation between entities.
Eg.One person can apply for single loan .so here person id from person entity will map with loan table as 1-to-1.

Hope you got it

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.