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

Add Removed Table

1 Answer 33 Views
Design Time (Visual Designer & Tools)
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
Top achievements
Rank 1
David asked on 11 May 2013, 07:07 PM
Hi,

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

1 Answer, 1 is accepted

Sort by
0
Accepted
Doroteya
Telerik team
answered on 16 May 2013, 06:17 AM
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,
Doroteya
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.
Tags
Design Time (Visual Designer & Tools)
Asked by
David
Top achievements
Rank 1
Answers by
Doroteya
Telerik team
Share this question
or