Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: pegah on May 26, 2007, 11:59:36 pm

Title: Generate C# Code from Sequence daigram
Post by: pegah 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.
Title: Re: Generate C# Code from Sequence daigram
Post by: Eve 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.
Title: Re: Generate C# Code from Sequence daigram
Post by: pegah 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.