Problem with Entity Model after deleteing table: cannot delete in Store, there can't add same table again

Moved by moderator XIII: This question's more related to the designer of Visual Studio 2008. Questions about Entity Framework itself should be posted into the Data Access forum

Hi,

 I am having a problem creating an Entity Data Model using Visual Studio 2008. To reproduce...

Create a new data model.

Added some tables by selecting Update Model from Database.

Look in the Model Browser, tables are added under Entity Types.

Delete one of the tables, the table is gone from Entity Types but is still in the Model Store under Tables/Views

Now, when I select Update Model from Database, I can't see the table I previously deleted.

 

How do I add the deleted table again, using either Update Model from Database, or any other method?

 

Cheers,

Sam


Herrow
0
HansBrrix
11/17/2008 4:38:16 PM
asp.net.3.5-extensions-preview 378 articles. 0 followers. Follow

2 Replies
856 Views

Similar Articles

[PageSpeed] 55

Right-Click on the model design surface and select Update Model from Database and that should do it for you.


Chris Love
ASP.NET 2.0 Your Visual Blueprint for developing Web Applications
0
docluv
11/17/2008 4:45:39 PM

 Ok, found my answer... It's an outstanding issue being discussed here...

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3832683&SiteID=1 

Seems like the only way to do it at the minute is to edit the xml and delete the entity by hand.

 


Herrow
0
HansBrrix
11/17/2008 4:48:55 PM
Reply:

Similar Artilces:

Can't find EDM wizard (can't add ADO.NET Entity Data Model)
I'm having trouble getting started with EDM.  I'm ultimately trying to experiment with ASP.NET Data Services.  I have never installed any ASP.NET 3.5 Extensions CTPs.  However, I have installed VS2008 SP1 Beta1 and .NET 3.5 SP1 Beta 1.  Based on the list of features in SP1 Beta 1 (http://www.microsoft.com/downloads/details.aspx?familyid=8C36ACA4-E947-4760-9B05-93CAC04C6F87&displaylang=en ) I believe I should have both EDM support and Data Services support. When I try to add a new item to my VS2008 project, ADO.NET Entity Data Model is not in the list.&nb...

Directory.Delete(path, true); doesn't work (.net 1.1) and admin can't delete
Hello all.  I have a web application that creates a user temp directory, copies files into that directory, manipulates those files, sends files to the user, and then calls Directory.Delete(path, true); to delete the temp directory and all of its contents.  The problem is that this doesn't work and the directory is still there after the method call and code execution is complete.  I also can't delete the directory manually even when logged in as an Administrator.  It says 'Cannot delete <path>: Access is denied.'.  I was under the impression that specifying 'tru...

Can't perform Create, Update or Delete operations on 'Table(outbox)' because it has no primary key.
 Hi,I'm a beginner in asp.net and I have some problem inserting data into sql server 2005 with linq. my code is :          Dim Result As New SMS.SendResult        If Result.status = 0 Then            Label1.Text = "Your Message Sent Successfuly"                        Dim db As New IGSSDataContext     &...

Can't get through init 3 from init 5 and can't get through init 5 from init 3.
I tried opensuse 12.1 Gm today. Installation was perfect with xfce 4.8 until I tried installing the nvidia driver. In runlevel 5 as superuser I tried to shift to runlevel 3 and was welcome with a black screen, I have to use ctrl-alt-delete to reboot. During the reboot I used runlevel 3 and I was able to install the nvidia driver. After the nvidia driver installation I tried to shift to runlevel 5 and there, I was welcome with a black screen with a stationary blinking x cursor. I rebooted once again wiith runlevel 5 to get the gui. Any one had seen this happened? This installation is...

How can I update my data set when i changed my db, out of visual studio? IDE doesn't show relations in DB model after deleting and droping table again
hi,I changed my DB in ms sql management studio. I have a dataset in visual studio with some query. how can i update my dataset without deleting and creating it again? i don't want to add my query again.another issue is when i delete my table from dataset and drop it again, relations between it and another tables  were deleted and IDE didn't show them. is there any way to create relations from DB model?tanx  For the SQLDataSource object, VS 2008 gives us the option to Refesh the datasource. If you go to the Design view, you will see an option called "Refresh Schema&qu...

ZCM 10.1.3 Stuck on Download
I started the download for the 10.1.3 update, but now it's stuck. It doesn't display a download percentage, but I can't delete either. Any ideas? Thanks jcmeller -- jcmeller ------------------------------------------------------------------------ jcmeller, It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply. Has your problem been resolved? If not, you might try one of the following options: - Visit http://support.novell.com and search the knowledgebase ...

superreview granted: [Bug 336121] Can't click links inside a left-aligned table nested in a table with display:inline (can't interact with talkbacks on ynet.co.il) : [Attachment 220462] fix
David Baron <dbaron@mozilla.com> has granted Robert O'Callahan (Novell) <roc@ocallahan.org>'s request for superreview: Bug 336121: Can't click links inside a left-aligned table nested in a table with display:inline (can't interact with talkbacks on ynet.co.il) https://bugzilla.mozilla.org/show_bug.cgi?id=336121 Attachment 220462: fix https://bugzilla.mozilla.org/attachment.cgi?id=220462&action=edit ------- Additional Comments from David Baron <dbaron@mozilla.com> The pseudoStackingContext stuff basically just puts the block-float-inline layers...

superreview requested: [Bug 336121] Can't click links inside a left-aligned table nested in a table with display:inline (can't interact with talkbacks on ynet.co.il) : [Attachment 220462] fix
Robert O'Callahan (Novell) <roc@ocallahan.org> has asked David Baron <dbaron@mozilla.com> for superreview: Bug 336121: Can't click links inside a left-aligned table nested in a table with display:inline (can't interact with talkbacks on ynet.co.il) https://bugzilla.mozilla.org/show_bug.cgi?id=336121 Attachment 220462: fix https://bugzilla.mozilla.org/attachment.cgi?id=220462&action=edit ------- Additional Comments from Robert O'Callahan (Novell) <roc@ocallahan.org> Same old story. nsTableOuterFrame is PR_FALSE for IsAbsoluteContainingBlock, bu...

Can't delete a table with a foreign key
Hi, I'm running ASE 11.9.2 on Win NT4.0 SP5. I'm logged in as SysAdmin. I have a user db created by the SysAdmin account with 2 tables that I am try to drop. Table A has a foreign key that references table B. Table B has no references to any other table. If I try to drop table B first it tells me that it can't be dropped because of a referential integrity constraint. OK, that's the way it's supposed to work. If I try to drop table A (via Sybase Central, ISQL, or SQL Advantage) I get no errors (which is just peachy) but.... the table is still there!!! I've tried ...

Why can't I delete a character using 'Delete' Key in DataWindow?
I program using PB 6.0 , I can delete anything using 'Delete' Key in Datawindow painter preview mode, but when the application running , I can only delete it using 'Backspace' Key( When pressing 'Delete' Key, nothing happen), Could anyone tell me why? Thanks a lot. Check your menus and make sure the DEL key is not used as a shortcut to one of them (Edit | Cut, for example) pbm_hopethishelps, Roy Li Liqiang wrote in message ... >I program using PB 6.0 , I can delete anything using 'Delete' Key in >Datawindow painter preview mode, but ...

Why doesn't the 'Modules' table delete any entries?
Hi all: I've noticed from studying the database that the Modules table never deletes a module you've added, even if you've since deleted that module from the tab, and it's long since gone. Two questions: 1. Why? What's the point of keeping a record in the table that is of no use anymore? 2. What is the column in the Modules table that decides if a module is visible or not? I can't seem to find it. Thanks in advance for any help... 1) Check your Recycle Bin. The module will disappear from the table after you perma-delete it via the Recycle Bin. 2) The IsDeleted column. ...

Can't Delete Table in Ultralite Schema Painter
Using the Ultralite Schema Painter that came with the ASA 8.0.2 maintenance upgrade. Created new company table with the following info. comp_key - integer - pk comp_name - char(40) comp_contact - char(40) Saved the table and it appeared in the tables list. Immediately right clicked on the companies table and selected the delete option, which gave me the following error... "There was an error dropping the table. (SQLCODE 0)" Pressed OK to the warning message. Now, if I immediately go back and try and delete the table again by selecting the delete option in t...

Can't open Can't delete
Name: Mike Gordon Email: mikeatmgendodotcodotnz Product: Thunderbird Summary: Can't open Can't delete Comments: HELP I cannot open thunderbird after latest update. It has an error message thunderbird.exe is not a Win 32 command. I also cannot delet it to reload it I need some help Please Browser Details: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322) ...

3 Beta 5
Name: Lance Hardy Product: Firefox Summary: 3 Beta 5 - can't delete current message Comments: You must know already, but can't delete an email while inside it. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 From URL: http://hendrix.mozilla.org/ ...

Deleting the master table withour deleting the child tables
Hi i have to delete the master table data without deleting the child table records,is there any solution for this,  parent table has relation with the child table. regards vinod.t.vSoftware EngineerUshustechTechnoparkTrivandrum India You need to temporarily disable constraints on the table. Disable constraints: ALTER TABLE MyTable NOCHECK CONSTRAINT ALL Enable constraints: ALTER TABLE MyTable CHECK CONSTRAINT ALL    If this post was useful to you, please mark it as answer. Thank you! Thanks johram i can try this solution, this is usefullSoftware Enginee...

On update trigger I can't show rows in the inserted and deleted tables
Hi all: I have two tables named A and B. The first has an after insert trigger with an "update B set......" statement in the source, and the second table has an after update trigger. Both insert and update work fine but when I check the rows from inserted or deleted tables inside of after update trigger on table B its haven't rows. Both triggers was created using transact-sql syntax on sql anywhere 7.0.4 build 3519 Any help would be appreciable Thanks in advance Hern=e1n inserted and deleted on work in T-SQL triggers. To code a T-SQL trigger you need to use ...

can't delete bookmark in Moz FF 3.0.5
Can't delete this bookmark in FF 3.0.5 - any ideas? http://news.bbc.co.uk/1/hi/programmes/moneybox/7872149.stm I just used cntl-b to get the bookmark list then right-click to get Delete option. It doesn't go away though. thanks dave wrote: > Can't delete this bookmark in FF 3.0.5 - any ideas? > http://news.bbc.co.uk/1/hi/programmes/moneybox/7872149.stm > I just used cntl-b to get the bookmark list then right-click to get > Delete option. It doesn't go away though. > thanks click on Bookmarks, Organize Bookmarks, and find the bookmark then delete i...

Deleted User's Shared Folder can't be deleted.
A user that was deleted owned a shared folder that now needs to be deleted. How can I handle that? aray@lexington1.net, > A user that was deleted owned a shared folder that now needs to be > deleted. How can I handle that? It hasn't disappeared from the sharee's mailbox? -- Lindsey Johnstone "A man about town" Please note: My spell checker will correct your spelling of GroupWise. ...

Can't delete projects from Visual Studio .Net IDE 'Start Page'
Please ignore this post. Since posting it I found the solution but I'm not able to delete this post. nikita ...

can pb6.5 to exec stored procedure which is 'truncate table'?
Hello, everybody I wanna do some coding in powerbuilder6.5. My purpose is to truncate some table in the front end instead of running 'truncate table' by ISQL. The way I am thinking to solve this is to create an stored procedure first like sp_truncate which has only one sql : truncate table A. The sp_truncate works fine when running it in ISQL, but if I use it in the front end, like coding it in powerbuild6.5 using 'exec sp_truncate', it failed, the error message is 'Truncate cant run with multi_statement transaction'. So anybody here who can help me thi...

How to set user who can't modify any StoredProc and data in Tables but can read data in Tables and any StoredProc ?
Please give me advise ครับ   Go into Management Studio, connect to your database and go to Security-->Users from the treeview. Right click and select New User. Create the use based on the relevant login and then go to the Securables option where you can add tables and stored procedures and select which rights the user will have.Website Design Darlington - http://mdssolutions.co.ukhttp://lessthandot.com - Experts, Information, Ideas & Knowledgehttp://aspnetlibrary.com - An online resource for professional ASP.NET developersPlease remember to click "Mark as Answer" o...

My markers can't be placed first, and "Toolbar bookmarks" can't be deleted/moved.
Name: Sergio Hernandez Email: sergioathcsoftdotnet Product: Gran Paradiso Summary: My markers can't be placed first, and "Toolbar bookmarks" can't be deleted/moved. Comments: I used to have my own bookmarks first, but now there is another folder with "Toolbar bookmarks" (translated from Spnish). I can't place mine first, and I can move or delete this new folder. If I try to move it, it clones and the new cloned one is, again, indestructible... very annoying, now i have 3 of them, an infection!!! Browser Details: Mozilla/5.0 (Windows; U; Windo...

BUG!!! Firefox 3.5.3 DOESN'T delete Cookies when Quit
BUG!!! Firefox 3.5.3 DOESN'T DELETE the Cookies, even if you set it to automatically delete cookies when you quit. Always some cookies will remain!!! (I have set to delete everything on quit ,except browsing and donwload history, and saved password ). You may have a corrupt cookies file, try http://support.mozilla.com/en-US/kb/Cannot+log+in+to+websites#Remove_corrup= t_cookies_file If that does not work please try asking at one of the support options at http://support.mozilla.com/en-US/kb/Ask+a+question On Fri, Sep 25, 2009 at 09:03, klitosp <klitosp@yahoo....

Can't delete an add-on
Name: Eric Schneider Email: emailericsatyahoodotcom Product: Firefox Summary: Can't delete an add-on Comments: How do I delete Del-icio.us from my system? I never use it, and I don't want it. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 ...

Web resources about - Problem with Entity Model after deleteing table: cannot delete in Store, there can't add same table again - asp.net.3.5-extensions-preview

Twitter
Sign in Sign up To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content, tailor ...

iOS 6.1 Battery Life: Apple Support Communities
Joe Guru I have two exchange accounts and never had the problem with multiple calendar notifications. I just lost battery power quickly. For ...

Windows Phone now lets you browse your files
You no longer have to go searching app-by-app to find a buried file on your Windows Phone. Right on schedule, Microsoft has released its Files ...

September 2014
Inoperable Terran Irony is the enemy of the post-modern left(tm) Home Archive for September, 2003 Page 1 of 17 1 2 3 4 5 ... 10 ... » Last » ...

The LiveJournal MUF/MPI Archive
Flags : W Requires : BuyPhone.Muf (Or something you program to make phones) Description : Objects. With numbers assigned. Any person can pick ...

Develop Office 365 apps by using the Android SDK
Applies to: Office 365 The Office 365 REST APIs open up the information stored on Office 365 servers to your native applications running on ...

Svn Cheat Sheet - OverAPI.com
OverAPI.com is a site collecting all the cheatsheets,all!

SEO Chat Users Revolt
As randfish reports Changes to SEOChat, members in SEO Chat Forums are revolting against the administration.The recent changes include; - nofollow ...

March 2010 Archives
Building a hypermedia-aware client is rather different from building a typical client in a client/server system. It may not be immediately intuitive. ...

HardWii » Blog Archive » Running Windows 95 on the Wii
Basically once DOSBox got released for the Wii that’s all I’ve been playing with lately. After playing some Commander Keen and getting an old ...

Resources last updated: 2/16/2016 11:57:28 PM