Associations naming not the same as the fk constraint name

Associations naming not the same as the fk constraint name

Postby MrRock » Fri 27 Aug 2010 11:52

Hello,
I have a problems with the naming of the associations when using dotconnect for Oracle (v5.70.152.0) to create an EF model...

It seems that the names of these associations are not the actual names of the FK constraints in DB, but just auto-incremented numbers.

Can I get the association names to be the same as names of FK constraints, or I need to do this manually?

Thanks.
MrRock
 
Posts: 6
Joined: Wed 11 Aug 2010 09:54

Postby Shalex » Mon 30 Aug 2010 16:36

We have reproduced this issue. It persists only in VS 2010 and only with MS Entity Data Model. I will post here when the problem is fixed. As a workaround, please use Entity Developer (the Devart Entity Model template) or change the names of associations manually.
Shalex
Devart Team
 
Posts: 7612
Joined: Thu 14 Aug 2008 12:44

Postby MrRock » Tue 31 Aug 2010 13:42

Hi Shalex, tnx for your response.
I have already tried this with Entity Developer and haven't succeded. Is there a way to force Entity Developer to name associations like FK Constraints?
MrRock
 
Posts: 6
Joined: Wed 11 Aug 2010 09:54

Postby Shalex » Tue 31 Aug 2010 15:13

MrRock wrote:I have already tried this with Entity Developer and haven't succeded. Is there a way to force Entity Developer to name associations like FK Constraints?

Do you mean that there is no way in Entity Developer to name association like FK Constraints or naming in Entity Developer is like in VS2010 at the moment (C1, C141, etc)?

We have fixed the problem in VS2010. Look forward to the next build of dotConnect for Oracle. I will post here when it is available for download.
Shalex
Devart Team
 
Posts: 7612
Joined: Thu 14 Aug 2008 12:44

Postby MrRock » Wed 01 Sep 2010 07:13

No, Entity Developer doesn't name them "C1" etc, but it doesn't name them as FK names too, it has naming convention like "Object1Object1".

Anyway, glad to hear it is fixed now, looking forward for a new version :)
MrRock
 
Posts: 6
Joined: Wed 11 Aug 2010 09:54

Postby Shalex » Wed 01 Sep 2010 16:29

We will implement an option in Entity Developer to name associations as the names of FK Constraints and notify you when it is available.
Shalex
Devart Team
 
Posts: 7612
Joined: Thu 14 Aug 2008 12:44

Postby MrRock » Thu 02 Sep 2010 07:18

Great news :)
Thanks
MrRock
 
Posts: 6
Joined: Wed 11 Aug 2010 09:54

Postby Shalex » Fri 24 Sep 2010 14:32

New build of dotConnect for Oracle 5.70.170 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=19068 .
Shalex
Devart Team
 
Posts: 7612
Joined: Thu 14 Aug 2008 12:44

Re: Associations naming not the same as the fk constraint na

Postby Shalex » Mon 21 May 2012 07:37

MrRock wrote:Is there a way to force Entity Developer to name associations like FK Constraints?

The behaviour will be changed starting from the next build of dotConnect for Oracle: the association names will be generated basing on the database FK names when using Database First approach. We will notify you when the corresponding build is available for download.
Shalex
Devart Team
 
Posts: 7612
Joined: Thu 14 Aug 2008 12:44

Re: Associations naming not the same as the fk constraint na

Postby Shalex » Wed 23 May 2012 15:55

New version of dotConnect for Oracle 7.0 is released!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=1&t=24180 .
Shalex
Devart Team
 
Posts: 7612
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle