Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 SQL recursive associations?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

16 Posts

Posted - 02/23/2015 :  21:24:58  Show Profile  Reply with Quote
I have a conference table. A conference can have a list of associated conferences. Is this what is refereed to as a recursive associations?

And is this accomplished by having another table ConferenceAssociatedConference with two fields (ConferenceId, AssociatedConferenceId) and these two fields are both foreign keys pointing on the same ConferenceId field of the Conference table?

I though the above was correct but when creating and building my edmx I get:

Error 6 Error 3034: Problem in mapping fragments starting at lines 875, 982:Two entities with possibly different keys are mapped to the same row. Ensure these two mapping fragments map both ends of the AssociationSet to the corresponding columns.

Flowing Fount of Yak Knowledge

2780 Posts

Posted - 02/24/2015 :  20:57:24  Show Profile  Reply with Quote
It would not be recursive unless some conference can be a child or grandchild of itself.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2019 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000