Connecting to the database 

Follow these steps to add the GiveN'Take database to Visual Studio so that we can work on it there:

  1.  Open the SQL Server Object Explorer view in Visual Studio (ViewSQL Server Object Explorer): 

  1. Right-click on the SQL Server node inside the opened view and select Add SQL Server.
  1. In the Connect screen that has opened, select the database you wish to connect to, in our case, MSSQLLocalDB. Make sure that Authentication is set to Windows Authentication and click on Connect:

You should now see the GiveNTake database and be able to explore its schema and run queries if needed:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.192.183