Adding Oracle Tables to Model Fails

2 posts, 0 answers
  1. David Thompson
    David Thompson avatar
    29 posts
    Member since:
    Feb 2010

    Posted 10 Feb 2011 Link to this post


    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.

  2. Alexander
    Alexander avatar
    727 posts

    Posted 15 Feb 2011 Link to this post

    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,
    the Telerik team
    Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
  3. DevCraft banner
Back to Top