Set autoinc in visual desingner

2 posts, 0 answers
  1. Tajes
    Tajes avatar
    81 posts
    Member since:
    Sep 2009

    Posted 25 Feb 2011 Link to this post

    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.
  2. Zoran
    Admin
    Zoran avatar
    534 posts

    Posted 03 Mar 2011 Link to this post

    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!
  3. DevCraft banner
Back to Top