This is a migrated thread and some comments may be shown as answers.

Reverse Mapping Woes

1 Answer 67 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jonathan
Top achievements
Rank 1
Jonathan asked on 24 Mar 2009, 04:23 PM
Hi, having real problems with the reverse mapping wizard not updating config files. I have successfully generated the classes using the reverse mapping wizard. Some changes have been made to the database and the merge option of the wizard correctly identified the changes (which involved removing foreign keys are one table, renaming on field and foreign key, renaming one table and removing two tables). I ran the merge wizard and regenerated the classes. The classes representing the two deleted tables disappeared from the project as expected but rogue references were left in both app.config and reversemapping.config and references to the changes field name were not updated anywhere. Consequently, the project would not build.

Is it really intended that the developer has to hand edit the config files to remove all these out-of-date references or should the merge function do this? It has now reached the point that I don't trust the merge and reverse mapping wizard to do as I might (reasonably) expect them to do. But perhaps I' missing something?

Regards,
Jonathan

1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 27 Mar 2009, 01:20 PM
Hello Jonathan Simmons,

 We are sorry about that. There is a bug while merging renamed Foreign key references and that has been fixed now. The fix will be available in the next patch which is scheduled for next week.

 In the meantime you would have to remove the reference field from the class and the corresponding mapping from the config file.

Your Telerik points have been updated

Greetings,
Ady
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Design Time (Visual Designer & Tools)
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or