How to create fileds in table in exact order

Thread is closed for posting
2 posts, 0 answers
  1. Marko Gluhak
    Marko Gluhak avatar
    69 posts
    Member since:
    Apr 2006

    Posted 30 Oct 2015 Link to this post


     How to manage to have fields in database exactly like I want it to be (of course I'm talking when creating DB not updating schema).

     I try to sort properties, fields in class, order in mapping (in metadatasource file), but nothing has effect in that.

    With regards,

  2. Doroteya
    Doroteya avatar
    498 posts

    Posted 04 Nov 2015 Link to this post

    Hi Marko,

    Thank you for contacting us.

    In general, Data Access does not allow you to select the order of the generated columns in the DDL script. A workaround, although a manual one, is to export the initially generated Create DDL script in a text file and to edit it appropriately before executing it.

    I hope this helps.

    Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
Back to Top