A connection can be associated with the project to perform project deployment through it. You can not deploy a project without connection. You can also add shortcuts to database objects from the project connection to project.
To associate connection with the project, do the following:
Right-click on the project in Solution Explorer and select Assign connection from the shortcut menu.
Select the required connection from the list and click OK.
Right-click on the connection in Database Explorer and select Assign to project from the shortcut menu.
Drag the connection from Database Explorer to Solution Explorer.
To delete associated connection shortcut from project, right-click on it in Solution Explorer and select Delete from the shortcut menu or select connection shortcut in Solution Explorer and press the Delete key.
Project connection is specific to project configuration. If you select another project configuration, the connection and database object shortcuts in Solution Explorer will be loaded from the configuration data. For more information, read Project Build Configurations.
When you delete connection shortcut from project, all database object shortcuts of this project will be also deleted.