Book a Demo

Author Topic: Reverse eng. C# code creates duplicate classes etc  (Read 2248 times)

raca

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Reverse eng. C# code creates duplicate classes etc
« on: July 16, 2009, 05:34:25 pm »
Hi,

I have 4 questions:
1. Is there a way to combine 2 classes that were reverse engineered from 2 partial classes into one during the process of after the fact?
I would rather have one relationship association with one then 2 classes.

2. How can I create dependency relationships with Add Related Elements ... ?
What should I do in Insert Related Elements dialog box or elsewhere? I tried selecting "Dependency" in Limit to Element Type combo box, but that option doesn't bring anything.
It seems that only associations and realizations are added when determining related elements. The point here is that I have to add dependency associations manually.

3. Can I have EA created class diagram for the whole package during reverse engineering phase or afterwards? Right now I have to drag and drop individual classes on the class diagram surface.

4. Is there a way to generate WAE stereotyped class diagram showing Client Page, Server page etc? Would that require executing a web page and submitting request to the server?
I want to create something like this using exising aspx pages and their code behind classes (2 partial classes):
http://home.everestkc.net/radoslav/DomainModeling.jpg
The problem is that the reverse engineering doesn't process the aspx page since it is dynamically compiled. Should i precompile the web application project? I reverse engineer code from my current solution and this would meen I would have to do another round of reverse engineering from the precompiled DLL or DLLs. I guess that cannot be avoided since those classes are not known by VS IDE unless I pick them up in their ASP.NET temporary folders and add them to the WAP project and do reverse engineering? Would that produce WAE stereotyped classes?

Thanks,
Rad
« Last Edit: July 16, 2009, 05:56:56 pm by raca »