Author Topic: Generate C# Code from Sequence daigram  (Read 358 times)

pegah

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Generate C# Code from Sequence daigram
« on: May 26, 2007, 11:59:36 pm »
hello.

I want to know how can i generate C# code from Sequence diagram model.I know  that could generate sequence from code, but don't know if can reverse it?

thanks very much.

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6216
  • Karma: +49/-5
    • View Profile
Re: Generate C# Code from Sequence daigram
« Reply #1 on: May 27, 2007, 01:05:03 pm »
Not directly you can't.  EA only generates from the class model.  However, if your sequence diagram(s) has/have been set up using instances of actual classes and the messages correspond to actual methods.  Then you'll be able to generate the class model you have created.
Simon

support@sparxsystems.com

pegah

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Generate C# Code from Sequence daigram
« Reply #2 on: June 19, 2007, 01:16:15 am »
Thanks you  very much.

but i do'nt know how generate C# code from Sequence Diagram.

can you tell me a way to do it?

thanks very much again.