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

Update from database

1 Answer 54 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 2
Michael asked on 20 Jun 2011, 12:34 PM
I notice strange behavior with "Update from Database" option. When I create model from database OAORM follow order of columns in tables, but when I create new table in database and want to add that table in model throw option "Update from database" OAORM offer me new table, but when OAORM add that table, fields are order by name ascending and not by how they are in actual table! That is not how is supposed to work!

Michael.

p.s. Enviroment :
  Database : PostgreSQL 8.4
  OAORM : 2011.1.316.10
  VS 2010

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 22 Jun 2011, 05:31 PM
Hi Michael,

We tried to reproduce this behavior but with no success. Please note that the properties of the classes in the diagram are ordered as follows - the identity members are first, next are the normal properties sorted by name and at the end are the navigational properties.

Could you please do the following test - create a domain model and include one table, then create another empty model and use the Update from Database wizard to include the same table you have added to the first model. Normally the two models should not differ in any way. Please compare them and if there are any differences send us the table definition, so we can try the exact same setup on our side and locate the problem. Thank you in advance for the cooperation.

Kind regards,
Alexander
the Telerik team
Want to use Telerik OpenAccess with SQL Azure? Download the trial version today. 
Tags
Data Access Free Edition
Asked by
Michael
Top achievements
Rank 2
Answers by
Alexander
Telerik team
Share this question
or