I am unable to uncheck auto increment field in column mapping dialog without it returning next time i open reverse mapping wizard. In the end I had to edit the reversemapping.config file directly. there is a bug.
3 Answers, 1 is accepted
0
Accepted
Ady
Telerik team
answered on 01 Sep 2010, 03:15 PM
Hi Web Belief Ltd,
This is by design. Is there any particular reason why you want to change the 'autoinc' setting on the primary key field? If the 'autoinc' setting is set to false, the Key generator for the class is set to 'NONE'. In this case, for inserts the application has to then provide a value for the PK column. Explicitly inserting the value for an autoinc column is not allowed under normal circumstances.
Greetings,
Ady
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
It is bad usability at best. Why put a checkbox on the form, that lets you uncheck it, only for it to do nothing? at least disable the check box. In the end i had to change both setting manually in the config files. There is no decent documentation about this. There are many times when an autoincrement field is not going to be suitable for a table.
0
Ady
Telerik team
answered on 07 Sep 2010, 01:56 PM
Hello Web Belief Ltd,
Yes, I agree with you that it is a bit misleading. We will disable that check box.
Sorry for the inconvenience that it caused you .
Greetings,
Ady
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items