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
Please fix this.
soon.
Thanks in advance,
Al
5 Answers, 1 is accepted
0
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,
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
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
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
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,
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
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
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,
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
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.