web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to Create 1:1 Relationship between two entities?

(1) ShareShare
ReportReport
Posted on by 2
Hello Friends,
 
I  am new to MS Dynamics currently using version 8.2 (2016) on premise edition.  My technical background is pure .NET Developer.
 
Can anyone explain me  with a very simple example on how to create  one-to-one relationship between two entities?   (Sample Image is attached for my understanding)
 
Thanks.
 
 
 
 
I have the same question (0)
  • Suggested answer
    Ray Profile Picture
    1,537 on at
    Dynamics does not support 1:1 relationship directly.
    But you can do some customization on 1:N or N:N relationship, an usually way is to create a plugin to limit the create/update of the entity records.
     
    In your example, you can create a 1:N relationship between Employee and Employeedetail. And then create a plugin on the "N" entity for create and update message, to limit the records point to the "1" entity.
     
    BTW, If you want to dispaly the EmployeeDetail info on Employee form, then you can consider use Employee as the "N" entity in 1:N relationship(lookup field), this will allow you to use a quick view form to display the EmployeeDetail.
  • Suggested answer
    Muhammad.Affan Profile Picture
    4,624 Super User 2025 Season 2 on at
    Hi There,
     
    Refer to this link it provides overview of entity relationship in D365.
     
    Thanks
    Affan
    If my answer please mark it as verified.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans