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

Delete table in Visual Designer

1 Answer 128 Views
Getting Started
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tajes
Top achievements
Rank 1
Tajes asked on 25 Jan 2011, 06:08 PM
Hello,
   How can I delete a table in the ORM Visual Designer in the Model Schema Explorer? I want to delete there and then Update Database from Model in order to drop table in Database. I deleted the mapped Entity Set, but I can't delete the table.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Petko_I
Telerik team
answered on 27 Jan 2011, 07:25 PM
Hi Iván Tajes,

We do not provide an option to drop tables through the Update Database from Model wizard. It is not a feature that we want to support because we are destroying relational data. You can modify and create new tables but you cannot drop them directly with OpenAccess. The way to remove a table from the Model Schema Explorer is to drop the table in the database, run the Update From Database wizard and apply the "Remove" change for the dropped table. So, to actually drop the table you will need to use another tool such as SQL Server Management Studio.

Feel free to contact us, if you have any further questions.

All the best,
Petko_I
the Telerik team
Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
Tags
Getting Started
Asked by
Tajes
Top achievements
Rank 1
Answers by
Petko_I
Telerik team
Share this question
or