Book a Demo

Author Topic: Synchronization of classes with visual studio 2008  (Read 2140 times)

reza

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Synchronization of classes with visual studio 2008
« on: January 18, 2009, 02:25:06 am »
hi
I have created a class with few methods in visual studio. In my EA model I imported the class to update my design. After that when I add any method in visual studio I use the "synchronize with code" option to keep updating my design.
BUT
If I add a method in EA, how would I update my source in Visual Studio without loosing my existing code?
any help

Kevin G. Watson

  • EA User
  • **
  • Posts: 217
  • Karma: +0/-0
  • I love EVERYTHING including Microsoft
    • View Profile
Re: Synchronization of classes with visual studio
« Reply #1 on: January 21, 2009, 04:28:45 pm »
Hi'ya Reza....  I think there's probably a hint in the phrase 'Sync'.

As far as I know, EA will reflect code changes in youre model ( Reverse Engineer ) and then reflect model changes into your code ( Forward Engineering )... almost as a by product of round tripping.

There are options available to control what happens when ya delete things from your model ( ie not deleting from code ) and deleting something from ya code, how thats treated at the model level.

I really can't see how you would add something in one and delete it in the other, and EA get confussed... perhaps you could try and get back to us.

The more pertinant question would be how is this revealed in the Project / Model Browser and Diagrams... I don't think it does. Not so much as shadow or dumped package area. :o

Kevin [smiley=2vrolijk_08.gif]