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

Update from Database fails

2 Answers 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sparks IT Ops
Top achievements
Rank 1
Sparks IT Ops asked on 06 Oct 2011, 03:38 PM
Hi, I have a simple test project where in my entity diagram I added three sql tables.From that, I removed a table, finished writing my code and tested read/write with the two remaining tables. Worked fine.
Then I went back in the "Update from Database" to add the previously deleted table. I can select it in the wizard, but in the confirmation page that follows the table is not shown. If I select other tables from the database they are shown in the confirmation screen and will add to the designer ok. (although once I delete that newly added table i cannot add it again)
whats happening here?
thx
-geoff

2 Answers, 1 is accepted

Sort by
0
Ivailo
Telerik team
answered on 11 Oct 2011, 12:27 PM
Hi Geoff,

I am pasting in the Forum what has already been posted in the duplicating Support ticket so that it can be used for further reference.

"In order to completely remove an entity from your Domain Model metadata, you have to explicitly delete the table from the Tables node of Model Schema explorer. If you haven't done so, the table would still be available there and can be added to the Domain Model without retrieving it again from the database."


Greetings,
Ivailo
the Telerik team

Check out the latest stable build of Telerik OpenAccess ORM. Download it and benefit from our new Project Templates.

0
Sparks IT Ops
Top achievements
Rank 1
answered on 18 Oct 2011, 01:54 AM

thx
-geoff
Tags
General Discussions
Asked by
Sparks IT Ops
Top achievements
Rank 1
Answers by
Ivailo
Telerik team
Sparks IT Ops
Top achievements
Rank 1
Share this question
or