Book a Demo

Author Topic: Reverse Engineering Class Diagram from C# Source  (Read 3610 times)

twahl

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Reverse Engineering Class Diagram from C# Source
« on: September 13, 2009, 06:10:10 am »
I originally reversed engineered my c# project using ‘Code Engineering[ch61664]Import source directory’.  I can now synchronize the existing classes by selecting ‘Code Engineering[ch61664]Synchronize’.  I have now created new classes in my C# code and would like to get them into the class diagram.  When I Synchronize the new classes are not imported into Enterprise Architect.  Do I need to re-import?

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Reverse Engineering Class Diagram from C# Sour
« Reply #1 on: September 14, 2009, 09:02:32 am »
The "Synchronize" command will only update classes that are already in your model against their latest source code.  To import new classes you will should use the "Import Source Directory" command again.  Importing a source directory has the option to synchronize with already existing classes in your model, so it should not create any duplicates.