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

Announcements

News and Announcements icon
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.
 
 
 
 
ER.PNG
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 Moderator 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 142 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
11manish Profile Picture

11manish 119

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans