Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to VSTS Database Professional

Similar presentations


Presentation on theme: "Introduction to VSTS Database Professional"— Presentation transcript:

1 Introduction to VSTS Database Professional
Tejasvi Kumar Developer Technology Specialist | Microsoft India

2 Agenda Introduction to VSTS Database Development using VSTS
2/28/ :57 AM Agenda Introduction to VSTS Database Development using VSTS Managing Database Change Building and Deploying a Database Project Data Generation Database Unit Testing Q & A © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Visual Studio Team System

4 Merger of Developer and Database Editions
Microsoft® Visual Studio® Team System 2008 Database Edition Merger of Developer and Database Editions Customers currently owning VSTS Developer Edition or Database Edition will get VSTS Developer Edition + Database Edition VSTS Developer Edition Unit Testing and Code Coverage Static Analysis Code Coverage Code Profiling Code Metrics

5 Database Development Using VSTS
Microsoft® Visual Studio® Team System 2008 Database Edition Database Development Using VSTS Database Development Life-Cycle Support Database Development Team Integration with Visual Studio Team System Creating Database Projects Creating a New Database Project Importing Database Objects from an Existing Database Importing Database Objects from a Script

6 Database Development Life-Cycle Support
Microsoft® Visual Studio® Team System 2008 Database Edition Database Development Life-Cycle Support Team Foundation Server Process Guidance supports two new roles Team Foundation Server Integration Database Administrator Database Developer Version control management Work item tracking Team build integration Integrated client setup with Visual Studio Team System No separate setup is required

7 Database Development Team Integration with VSTS
Microsoft® Visual Studio® Team System 2008 Database Edition Database Development Team Integration with VSTS Team Foundation Server Code Files Test Files Project Files Development Testing Project Management Work item tracking Source control Build support Testing Database work items and artifacts are managed in the same way as other team work items and work products Database Developers Database Administrators Database Objects Database Files

8 Creating Database Projects
Microsoft® Visual Studio® Team System 2008 Database Edition Creating Database Projects Deploy SQL Script Import database schema SQL Server Database Database Project Template Build project Database Project Create new project Deploy project SQL Server Database SQL Script Import existing .SQL script files

9 Establish the project environment
SCM Check in to Source Control DBDev Trust Boundary DBA Staging Database Production Database Database Project Import schema

10 Isolated Iterative Development
Sand box Sand box Sync Check-out Edit/Refactor Test Check-in SCM Sand box Sand box Work is being driven and tracked via work items DBDev Trust Boundary DBA Staging Database Production Database

11 Build Cycle DBDev DBA Test Database SCM Daily Build Test Staging
Output Can also be used in a “Continuous” build environment SCM Get Latest Daily Build Test DBDev Trust Boundary DBA Staging Database Production Database

12 Deploy the project environment
SCM Sync from Label DBDev Trust Boundary DBA Staging Database Deploy SQL Deploy Script Production Database Database Project Build Verify Refine deploy script

13 Managing Database Changes
Microsoft® Visual Studio® Team System 2008 Database Edition Managing Database Changes Refactoring Database Objects Introducing Database Schema Versioning Support for Source Control Providers

14 Refactoring Database Objects
Microsoft® Visual Studio® Team System 2008 Database Edition Refactoring Database Objects Database Edition supports object rename refactoring Rename any SQL 2000 and SQL 2005 schema objects VSTE DB refactoring supports changing the name of references in: Schema objects Data generation plans Scripts Database unit tests Database Edition name refactoring supports a preview of changes before committing

15 Introducing Database Schema Versioning
Microsoft® Visual Studio® Team System 2008 Database Edition Introducing Database Schema Versioning Schema change managed in Team System and Team Foundation Server Production Database is only used as the baseline for data, not for schema The database administrator does not have access to schema changes until it is time to deploy Baseline schema is under source control Production Database Source Control Database Stores versioned schema Uses source control Changes can be rolled out in a scheduled, managed way Scripts enable administrators to manage change updates Schema Changes

16 Support for Source Control Providers
Microsoft® Visual Studio® Team System 2008 Database Edition Support for Source Control Providers SCCI provider-based Support for Visual Studio based source control providers: TFS VSS UI support for Visual Studio through Solution Explorer By default, Visual Studio automatically checks out all files that are used by objects Scripts are stored as Unicode scripts by default

17 Building and Deploying a Database Project
Microsoft® Visual Studio® Team System 2008 Database Edition Building and Deploying a Database Project Using MSBuild Deploying a Build: Full Deployment Deploying a Build: Incremental Deployment

18 Data Generation Introducing Design Time Data Generation
Microsoft® Visual Studio® Team System 2008 Database Edition Data Generation Introducing Design Time Data Generation Generating Data at Design Time Executing a Data Generation Plan

19 Show related tables and ratios

20 Show data generation properties and preview

21 Database Unit Testing Database Unit Testing Overview
Microsoft® Visual Studio® Team System 2008 Database Edition Database Unit Testing Database Unit Testing Overview Developing Database Unit Tests Validating Tests Executing Tests Customizing and Extending Database Unit Tests

22 Database Unit Testing Overview
Microsoft® Visual Studio® Team System 2008 Database Edition Database Unit Testing Overview Ensures that database changes do not break existing code Generates automated tests for programmability objects Creates a battery of tests to run with every database build Supports design and customization of tests by using different languages: T-SQL VB.NET C# Builds on the existing unit-testing functionality in Test Edition Integrates database tests with application unit tests

23 Show dialog and talk through different test databases, automation etc

24 Show unit test running and failing (change row count properties)

25 VSTS Database Professional
DEMO VSTS Database Professional

26 References Visual Studio Team System: Microsoft Application Platform:
Microsoft Application Platform:

27 Feedback / QnA Your Feedback is Important!
Please take a few moments to fill out our online feedback form Use the Question Manager on LiveMeeting to ask your questions now!

28

29


Download ppt "Introduction to VSTS Database Professional"

Similar presentations


Ads by Google