Book a Demo

Author Topic: Code generation from Association  (Read 3535 times)

Oleg

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Code generation from Association
« on: August 15, 2008, 01:35:00 pm »
Hi,

I installed th elates 7.1 (Build 832).
For some reason EA doesn't generate a (C#) class attribue from an assiciation any more.

Is there any new setting I need to set up? Is it a known issue?

Thanks,
Oleg

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Code generation from Association
« Reply #1 on: August 18, 2008, 08:30:26 am »
Is the corresponding association end marked as non-navigable?  If so, then it's an intentional change.

(Please do check the dialog itself,  EA can be configured to not show the cross on the diagram.)

Oleg

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Code generation from Association
« Reply #2 on: August 18, 2008, 03:59:59 pm »
The target arrowhead is navigatable and has a role name. Source is not navigatable.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Code generation from Association
« Reply #3 on: August 19, 2008, 08:10:35 am »
Then that sounds wrong.  Please send in a bug report if you haven't already.

Oleg

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Code generation from Association
« Reply #4 on: August 19, 2008, 03:39:35 pm »
Thank you Simon, I'll file the bug.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Code generation from Association
« Reply #5 on: August 19, 2008, 09:10:42 pm »
Valya,

I posted two possible solutions to this when I read your first post. Since then this post makes three!

I'll delete my earlier reply, and post it again when you've reduced your posts to one thread. That way the rest of us can see the entire thread in one place.

Hopefully the rest of the potential respondents will do the same.

I do suggest that you start a new thread - after you delete all copies of this post. That way we'll all know what the thread is talking about. This will also clean up the three (so far) threads you've posted to, so that they are each focused on one topic.

David
No, you can't have it!