home recent topics recent posts search faq  

Huagati Systems Support Forum



register | lost password   open id sign in with Twitter
Messages in this topic - RSS

Home » Huagati DBML/EDMX Tools Support » Creating an independet association in model first

Support forum for Huagati DBML/EDMX Tools
9/23/2010 3:18:56 PM

Kajdron
Kajdron
Posts: 12
I have made a model in CSDL and want to create the SSDL with the Model Comparer. Most of the associations I wanted to make as "independent associations" (where the foreign key is not a property of the entity and referential constraint is empty in the property window). The comparer created all the entity tables but no foreign key columns and no mappings for the associaton.
Is there any possibility of creating such independent associations in model first approach?
0 permalink
9/24/2010 3:36:17 AM

Kristofer Andersson
Kristofer Andersson
Moderator
Posts: 312
Hi,
I will look into that, will let you know my findings soon...
Best regards,
Kristofer
0 permalink
10/22/2010 11:12:56 AM

Kajdron
Kajdron
Posts: 12
Hi Krostofer,
anything new about this issue?
0 permalink
10/22/2010 11:15:14 AM

Kristofer Andersson
Kristofer Andersson
Moderator
Posts: 312
Hi,
Yes, version 1.98 addresses that issue. It was just released. Please upgrade and try again.


Best regards,
Kristofer
edited by Kristofer on 10/22/2010
0 permalink
12/10/2010 11:46:05 AM

Kajdron
Kajdron
Posts: 12
Hi Kristofer,
Model Comparer can now generate FK columns and mappings for independent associations, but it doesn't recognize them correctly, even if it generated them itselves. The associations appear as changed in the CSDL aswell as in the SSDL part of the Model Comparer. If I validate the model in the edmx-Designer it shows no mapping errors.
I've added an edmx-file, with wich I have tested this.

Attachments:
Model1.edmx
0 permalink
12/11/2010 8:19:08 AM

Kristofer Andersson
Kristofer Andersson
Moderator
Posts: 312
Sorry about that, that was caused by a recent change in FK change detection. It will be fixed in the next update (version 2.14).

Best regards,
Kristofer
0 permalink
12/13/2010 10:33:06 AM

Kristofer Andersson
Kristofer Andersson
Moderator
Posts: 312
Please try again with the latest release (2.14). The false change notification for independent associations should be gone now.
0 permalink
12/14/2010 8:49:15 AM

Kajdron
Kajdron
Posts: 12
Hallo Kristofer,
now it works.
Thanks
0 permalink

Home » Huagati DBML/EDMX Tools Support » Creating an independet association in model first





Powered by Jitbit Forum 7.1.0.0 © 2006-2011 Jitbit Software