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

Adding Oracle Tables to Model Fails

1 Answer 32 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David Thompson
Top achievements
Rank 2
David Thompson asked on 10 Feb 2011, 10:27 PM
Hi,

I have been working with ORM Q3-2010 and I am trying to add some tables to my model and it seemed to work but when the script was run, the objects are not listed in the model nor did it generate a CS file for them.  When I try to do it again, the tables are no-longer listed in the "Update from Database" dialog.  It's almost like there was an error reversing these tables but the error was not caught so the data is there but it is not enought to generate the objects.  Since I can't "see" the tables anywhere, I can't delete them and do it again! 

What an I doing wrong?  I don't want to start over because there were changes I have made to the model (parent entities re-named, associations changed) etc.

David

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 15 Feb 2011, 09:55 AM
Hello David Thompson,

Please note that the Update From Database wizard does not map automatically to classes tables that have been added to the model. If the tables are not showing up in the wizard, they are probably already in the model. You should be able to see them if you open the Model Schema Explorer window and expand the Tables node. If you can see the new tables there, it is enough just to drag them to the design surface and the corresponding persistent classes will be created. I hope that helps.

All the best,
Alexander
the Telerik team
Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
Tags
Databases and Data Types
Asked by
David Thompson
Top achievements
Rank 2
Answers by
Alexander
Telerik team
Share this question
or