Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How to: Add a Database Reference to a Database Project

If you are working on a database project in Solution Explorer, you can add a database reference. A database reference contains connection information and is saved as part of the project.

NoteNote:

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To add a database reference to a database project

  1. In Solution Explorer, right-click the Database References folder and choose New Database Reference from the shortcut menu.

  2. In the Add Database Reference dialog box, click the Add New Reference button.

  3. Follow the steps in How toHow to: Connect to a Database from Server Explorer.

    Your connection appears in Solution Explorer under the Database References and in Server Explorer under the Data Connections node.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.