Add Removed Table

Thread is closed for posting
2 posts, 1 answers
  1. David
    David avatar
    2 posts
    Member since:
    Dec 2012

    Posted 11 May 2013 Link to this post


    I removed a table from database and from ORM Diagram Visual Designer, but now I want to add it again, but the "update from database" don't do this for deleted tables, how can I achieve it?

    Thank you for your help.

    Best Regards,
  2. Answer
    Doroteya avatar
    498 posts

    Posted 16 May 2013 Link to this post

    Hi David,

    Generally, when a table is removed from both the database and the domain model, you could consider our Round-Trip approach in order to restore it.

    Basically, the options are either to re-create it in the database and to add it in the model with the Update from Database wizard or to add the domain class in Visual Designer, map it to a table and then update the database with the Update Database from Model wizard.

    I hope you find the suggested solution feasible. If you have additional questions, do not hesitate to get back to us.

    All the best,
    the Telerik team
    OpenAccess Samples Kit boasts 50+ sample applications providing diverse real-life business solutions. Click to read more and see OpenAccess ORM in action.
Back to Top