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

Request that the Reverse Engineering Wizard "remember" my changes

5 Answers 51 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.
Alfred Ortega
Top achievements
Rank 2
Alfred Ortega asked on 04 Jun 2009, 06:08 PM
For the most part I've gotten comfortable with the ORM but one thing that continues to frustrate me is the reverse engineering (RE) wizard.  Why can it not remember I changed a column name or don't want a table mapped?  I already ensure all my columns/tables are named in a singular tense so I don't need OA to remove the ending 's' from a column called 'status'..  it's supposed to be there!  And if I add a column to a table. I want the RE wizard to recognize that one change, and maintain whatever other changes I already made so I don't have to do them again (and again and again and again). 

Please fix this.

soon.

Thanks in advance,
Al

5 Answers, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 05 Jun 2009, 02:22 PM
Hi Alfred Ortega,
 
 We have already scheduled an improved implementation of the default naming scheme for the wizard. That would handle plural table/column names better.

 Regarding your second point - can you elaborate a bit more. If you add a column and then perform a 'Merge' to reflect these changes, OA will add a corresponding field for this column and retain your existing changes also.

Sincerely yours,
Ady
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Alfred Ortega
Top achievements
Rank 2
answered on 05 Jun 2009, 04:13 PM
Ady,
I wanted to test against the version/concurrency handling in OA by adding in a new column.  But when I run the "merge" it looks at all the changes and adds them including tables I specifically didn't want (like log tables) and had previously removed.  In the merge dialog I like that the changes are there but allow me to pick which change(s) I want - don't assume I want them all which is what it seemed to be doing.

Al 
0
Ady
Telerik team
answered on 05 Jun 2009, 04:40 PM
Hello Alfred Ortega,

 To reproduce the use case you mentioned, I did ignore a few tables in the wizard (by clicking the 'Ignore' radio button) and added a column to a mapped table. After 'Merge' by ignored tables are still ignored.

 Is this how you ignored your unwanted tables?

Sincerely yours,
Ady
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Alfred Ortega
Top achievements
Rank 2
answered on 05 Jun 2009, 06:37 PM
Okay I must have be doing something wrong, it's remembering the properties except for whatever is labeled as the "VersionField".  It is not listed as a member, property and the VersionField Attribute also gets wiped out.  Any ideas?
0
Ady
Telerik team
answered on 08 Jun 2009, 12:43 PM
Hi Alfred Ortega,

 You are right there. The wizard currently does not generate the version field and also overwrites the changes after the merge.
Currently only the correct mapping entries to use it are generated. This is by design.
 We will be providing an option to generate the version field.

As a workaround, you can add the field and Persistent attribute to the 'user' file (Classname.cs) but would need to remove the 'Persistent' attribute from the designer file if you regenerate the class.

Best wishes,
Ady
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Design Time (Visual Designer & Tools)
Asked by
Alfred Ortega
Top achievements
Rank 2
Answers by
Ady
Telerik team
Alfred Ortega
Top achievements
Rank 2
Share this question
or