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:
Select the required connection from the list and click OK.
Right-click the connection in Database Explorer and select Assign to project on the shortcut menu.
Drag the connection from Database Explorer to Solution Explorer.
To delete associated connection shortcut from project, right-click it in Solution Explorer and select Delete on 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.