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

How to create fileds in table in exact order

1 Answer 21 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marko Gluhak
Top achievements
Rank 1
Marko Gluhak asked on 30 Oct 2015, 09:40 AM

Hi,

 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,
Marko

1 Answer, 1 is accepted

Sort by
0
Doroteya
Telerik team
answered on 04 Nov 2015, 07:47 AM
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.


Regards,
Doroteya
Telerik
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
Tags
Getting Started
Asked by
Marko Gluhak
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Share this question
or