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

Set autoinc in visual desingner

1 Answer 38 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.
Tajes
Top achievements
Rank 1
Tajes asked on 25 Feb 2011, 09:35 AM
Hello,
   I was looking for how to set a autoinc field from visual desingner, but I couldn't find it. How can I do it?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 03 Mar 2011, 04:34 PM
Hi Tajes, 
Here are the steps you should follow:
  • Select an entity in the designer.
  • In the properties grid, look for the Identity Mechanism property.
  • Set Identity Mechanism = Backend Calculated
  • Select the autoinc member in the class
  • Set Identity=true from the properties grid if the member is not already marked as identity.

Best wishes,
Zoran
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Design Time (Visual Designer & Tools)
Asked by
Tajes
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or