Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio REALLY wants to create a database diagram

I have a VS "weirdness" I am unable to solve or explain.

Every now and again (with no consistency of action I am doing at the time) Visual Studio prompts me if I want to add database diagramming elements (similar to how SQL Manager would ask you if you chose to add a DB diagram for the first time.). It then asks me about 10-15 times within a half minute.

Exact text of dialog:

"This server does not have one or more of the database objects required to use database diagramming. Do you wish to create them? Yes/No/Help"

Is there a way to ask it to be quiet?

like image 654
Daniel Elliott Avatar asked Sep 08 '09 10:09

Daniel Elliott


People also ask

How do you create a database diagram?

To create a new database diagramIn Object Explorer, right-click the Database Diagrams folder or any diagram in that folder. Choose New Database Diagram on the shortcut menu. The Add Table dialog box appears. Select the required tables in the Tables list and click Add.

What is DB diagram?

Database diagrams graphically show the structure of the database and relations between database objects. You can generate a diagram for a data source, a schema, or a table. To create relations between database objects, consider using primary and foreign keys.


1 Answers

Bug report here: http://connect.microsoft.com/VisualStudio/feedback/details/536426/database-diagramming-creation-dialog-keeps-popping-up-during-the-checkout-of-any-file

Apparently a bug in the pending changes window when using the filter by solution option. Very annoying! Turning off the filtering worked for me.

like image 102
Daniel Lee Avatar answered Sep 23 '22 00:09

Daniel Lee