Download presentation
Presentation is loading. Please wait.
Published byAubrey Ford Modified over 8 years ago
1
Managing Database objects in Visual Studio and Team Foundation Server Presented by Sean P Brown @ SQL Saturday - Phoenix 2016
2
Agenda About Sean Source Control Intro Visual Studio Intro A look at the Visual Studio Interface Demo and examples Connecting to Team Foundation Server in Visual Studio Creating a Database Project in Visual Studio Adding Objects to a Database project Checking in and Checking out Deploying Objects to a Database Configuration and organization discussion Questions About Sean Source Control Intro Visual Studio Intro A look at the Visual Studio Interface Demo and examples Connecting to Team Foundation Server in Visual Studio Creating a Database Project in Visual Studio Adding Objects to a Database project Checking in and Checking out Deploying Objects to a Database Configuration and organization discussion Questions
3
Father/Husband/Brother/ /friend/Christian/develop er/reading/movies/video games/bike rides/dad jokes/dinner with friends Sean Work Experience 11 years of SQL Server experience including ETL Development, Database Design and Architecture, and Web Service Development Work at Grand Canyon University Used to Work at Dell, Acxiom, Blackboard, U.S. Army Corps of Engineers Undergrad at Middle Tennessee State university MBA at Grand Canyon University U.S. Army Reserve -------------------------------------------- Connect Twitter: @seanpbrown Email: sean@onlinebrown.com (no spam!)sean@onlinebrown.com Blog: www.seansdigs.com (maybe I will start blogging again)www.seansdigs.com Facebook: search for me
4
Source Control Source Control is a system to manage changes to a software application’s source code Assists developers working in the same code base from submitting conflicting changes Makes it easier to roll back to a prior version if issues are found Makes sure everyone is working from the same source Team Foundation Server is the Source Control product from Microsoft Source Control is a system to manage changes to a software application’s source code Assists developers working in the same code base from submitting conflicting changes Makes it easier to roll back to a prior version if issues are found Makes sure everyone is working from the same source Team Foundation Server is the Source Control product from Microsoft
5
Source Control
6
Visual Studio IDE for Software Development by Microsoft May be familiar because of Business Intelligence Development Studio (BIDS) Can be used for Database Development too! Organized by project type (database, console, API) with groups of projects in a solution Why not use Sql Server Management Studio (SSMS)? Visual Studio has better connection to Source Control Systems They seem to be moving toward consolidating development IDE as Visual Studio, might as well learn You can use SSMS to write your SQL code and still use Visual studio and TFS, there are just extra steps IDE for Software Development by Microsoft May be familiar because of Business Intelligence Development Studio (BIDS) Can be used for Database Development too! Organized by project type (database, console, API) with groups of projects in a solution Why not use Sql Server Management Studio (SSMS)? Visual Studio has better connection to Source Control Systems They seem to be moving toward consolidating development IDE as Visual Studio, might as well learn You can use SSMS to write your SQL code and still use Visual studio and TFS, there are just extra steps
7
A look at the Visual Studio Interface We will look at screenshots of Visual Studio We are looking at my setup of Visual Studio Ultimate 2012 There are lots of things you can customize – Themes, windows layout, toolbars, etc Many versions (2008, 2012, 2013, etc) and editions (community, professional, Ultimate, etc) Visual Studio may look different if you are using a different version or edition, or have a different theme, or moved your panes/toolbars around. It still works generally the same. We will look at screenshots of Visual Studio We are looking at my setup of Visual Studio Ultimate 2012 There are lots of things you can customize – Themes, windows layout, toolbars, etc Many versions (2008, 2012, 2013, etc) and editions (community, professional, Ultimate, etc) Visual Studio may look different if you are using a different version or edition, or have a different theme, or moved your panes/toolbars around. It still works generally the same.
8
Visual Studio Start Page
9
Connect to Source Control Click on Team>>Connect to Team Foundation Server
10
Connect to Source Control Brings up source control window Click on configure team projects
11
Connect to Source Control Pick the server, team project collection, and team projects. Click server to manage the servers in the drop down list We will be using my personal online account Get your own account when you want to do this yourselves!
12
Connect to Source Control You will need to make a workspace and map it to a local folder Click file >> source control >> advanced >> workspaces
13
Connect to Source Control You can manage your workspaces here Add, edit, or remove workspaces
14
Connect to Source Control Click advanced to get more settings
15
Connect to Source Control You can see your project collection in source control
16
Create New Database Project Depending on the version and edition of visual studio, you may need to install SQL Server Data tools to get the database project type in visual studio. The URL occasionally changes, so the best thing to do is use the search engine ofyour choice to find the best installer
17
Create New Database Project Click file >> new >> project
18
Create New Database Project Select database project Pay attention to project and solution name Also, pay attention to where you put it
19
Create New Database Project Wait…
20
Create New Database Project Now it is in source control explorer! This solution is opened in solution explorer
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.