Presentation is loading. Please wait.

Presentation is loading. Please wait.

MSDN TechTalk Agenda Visual Studio Team Edition for Database Professionals 08:30 – 09:00 Registration 09:00 - 10:15 (Roger Boesch, Microsoft Schweiz) Einbindung.

Similar presentations


Presentation on theme: "MSDN TechTalk Agenda Visual Studio Team Edition for Database Professionals 08:30 – 09:00 Registration 09:00 - 10:15 (Roger Boesch, Microsoft Schweiz) Einbindung."— Presentation transcript:

1 MSDN TechTalk Agenda Visual Studio Team Edition for Database Professionals 08:30 – 09:00 Registration 09:00 - 10:15 (Roger Boesch, Microsoft Schweiz) Einbindung der Datenbank-Entwicklung in den Software Life-Cycle 10:15 - 10:45 Kaffeepause 10:45 - 12:15 (Marcel Lattmann, Trivadis) Verbesserung der Softwarequalität durch Datenbanktests

2 Integration of Database Development into the Software Life-Cycle (TSDATA) Roger Boesch Technology Solution Professional Developer Tools Microsoft Switzerland GmbH http://blogs.msdn.com/rogerboesch

3 Agenda Overview of TSDATA Database Development Database Project System Database Schemas Refactoring Team Foundation Server Integration Database Testing Next Session with Marcel Lattmann, Trivadis

4 Overview of Team System for Database Professionals

5 Visual Studio Team System Team Edition for Database Professionals Take control of database change Offline, change management of the database schema Automated refactoring of database objects Automate database testing to improve quality Unit testing for database queries Automatic generation of meaningful test data Bring data professionals into the lifecycle Provide full Visual Studio Team System support Support Work Item tracking for database changes

6 Visual Studio Team System Visual Studio Team Suite MSF Process and Guidance Visual Studio Team Foundation Server Visual Studio Industry Partners Software Architects Software Developers Software Testers Database Professionals Visual Studio Team Explorer Application Modeling Infrastructure and Deployment Modeling Code Analysis Performance Tuning Security Analysis Database Deployment Database Change Management Database Testing Performance Testing Manual Testing Test Case Management Visual Studio Professional Edition Change Management Work Item Tracking Reporting Project Site Integration Services Project Management Load Test Agent Visio and UML Modeling Class Modeling Unit Testing Code Coverage New!

7 Database Development with Team System for Database Professionals “The conceptual Idea behind”

8 Database Development Life Cycle The cycle of life for database developers DatabaseProjectDatabaseProject EditEdit CompareCompare TestTest BuildBuild Data Generation DeployDeploy RefactorRefactor CompareCompare

9 Database Development Life Cycle DatabaseProjectDatabaseProject Import database schema Reverse engineer existing.SQL script files Create New Project SQLScript DatabaseProjectTemplate SQL Server Database Deploy SQL Script SQL Server Database Build project Deploy project

10 Database Development Database Projects & Schemas “Start with a Baseline”

11 Project Model The center of gravity The database project represents the “truth” with regards to schema versioning Optionally database project can be placed under source control.SQL script files is the canonical format used Changes are tracked at the “object level” For example indexes, constraints, triggers are tracked independent of the base table definition, in order have the highest granularity of change tracking

12 Database Projects Defined “Schema” projects SQL Server 2000 SQL Server 2005 “Script Only” projects SQL Server 2000 SQL Server 2005 Different types to support different syntax/language options A project is simply a series of files collected together into a single logical collection The files represent the truth of your schema

13 Schema Objects The “Meat and potatoes” of the project system All SQL Server objects are reflected here All objects within user databases, that is And that are user-created objects (no system objects) Schema folders reflect the product version So “Service Broker” objects only show up in the SQL Server 2005 project type Table and View are containers for child objects Indexes, Triggers, Constraints, Statistics, Full-text Goal is to be as compatible as possible with SQL Server Management Studio Object Explorer view We use the same icons, folder view when possible

14 Import Database Schema Also sometimes referred to as reverse engineer Imports an existing database schema into a database project We use the schema compare engine under the covers to generate the script Then submit the script one piece at a time as if you’d typed them in yourself We then turn each object into a separate file in your project

15 Source Control Integration Full Integration with Visual Studio SCC Interfaces Support out of the box for Team Foundation Server, Visual SourceSafe However, any SCCI compliant source system should work Standard Graphical Interface If you work with VB/C# projects and source control, we’ll behave the same Same icons on project items Same top level/context menu items

16 DEMO Make the baseline: - The Project System - Import Database Schema - Source Control Integration

17 Database Development Schema Compare Refactoring “Changes are daily business”

18 Schema Compare What is Schema Compare? GUI interface and/or SQL scripts to compare diffs Viewer based on “Schema Engine” Allows quick comparisons of Project  Database Database  Database … On Object level Functionality Full SQL Server 2000 and SQL Server 2005 support

19 Refactoring Bring power of refactoring to SQL Cascading Change Update all dependent objects in database project Schema objects, Data generation, Unit Tests, SQL Scripts Make an atomic change Rename Meet corporate standards Better express semantic intent – clarity See more in next session…

20 Database Development Team Foundation Server Integration Build & Deployment “Be part of the project team”

21 Team Foundation Server Integration into the Life-Cycle Work Items Flexible work item tracking System for requirements… …Change requests, bugs and issues The other aspects of team collaboration Team Portal – SharePoint site for team collaboration Project Management – manage project resources, timelines and quality Version Control – robust version control system for all project artifacts, including branching, change sets, and shelving Reporting – central data warehouse for real-time project metrics and analytics

22 Build & Deployment Used for Team Builds Daily Builds/Nightly Builds Deployment Support Deploy via SQL query tool Deploy via MSBuild task Is a standard MSBuild task Configurations New vs. Existing builds Project properties for build Schema compare used for build Pre/Post Deployment scripts Build results in.SQL script file

23 DEMO Implement change requests: - Use work item(s) - Schema Compare - Refactoring - Build and Deploy the Database Project … and take a look into team collaboration…

24 © 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.


Download ppt "MSDN TechTalk Agenda Visual Studio Team Edition for Database Professionals 08:30 – 09:00 Registration 09:00 - 10:15 (Roger Boesch, Microsoft Schweiz) Einbindung."

Similar presentations


Ads by Google