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

AutoInc unique identifiers are not supported for MsSql backend

3 Answers 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
James Legan
Top achievements
Rank 1
James Legan asked on 11 Jun 2012, 07:20 PM
I just updated a few minutes ago as soon as I saw that default value support (including sequential guids) was supported. I created a test method in my project and confirmed that in fact a new record with a sequential guid is in fact now being inserted without having to go through my stored procedure and all worked as expected (yay Telerik).

However, in my Error List I now have a permanent error that reads "AutoInc unique identifiers are not supported for MsSql backend." Double clicking on it brings up the OpenAccess validation window and a "fix" wizard which allows me to select a different key generator. In the combobox I am able to still select Autoinc and it still works. 

Is there actually a bug here or an overzealous validator with nightmares of its past love-hate relationship with sequential guids?

3 Answers, 1 is accepted

Sort by
0
James Legan
Top achievements
Rank 1
answered on 12 Jun 2012, 12:48 PM
Converting to a bug due to lack of response.
0
David
Top achievements
Rank 1
answered on 12 Jun 2012, 04:27 PM
I also recieved this error after upgrading.  In my case I have a view mapped in my domain model that has a composite key, multiple identity fields.  The solution runs, but the datagrid that pulls from that view is showing duplicate rows. 
0
PetarP
Telerik team
answered on 15 Jun 2012, 02:26 PM
Hello James and Joshua,

 As we have already confirmed - this is indeed a bug that will be fixed for the next release. Anyone encountering this error message should disregard it as it is only a warning that something went wrong while it is actually working as expected (its an old validation rule that needs to be removed).

Greetings,
Petar
the Telerik team
OpenAccess ORM Q2'12 Now Available! Get your hands on all the new stuff.
Tags
General Discussions
Asked by
James Legan
Top achievements
Rank 1
Answers by
James Legan
Top achievements
Rank 1
David
Top achievements
Rank 1
PetarP
Telerik team
Share this question
or