Site Sections => About Us | Consultancy | Training | Software | Publications | Open Source | Support | Open Standards | FAQ | Jobs
Site Style Info

Microsoft Course 2542 - Advanced Data Access with Microsoft Visual Studio 2005 — A 2-Day Course

Course Synopsis

This two-day instructor-led workshop provides students with the knowledge and skills needed to use advanced data access features and techniques in the Microsoft .NET Framework and Microsoft Visual Studio 2005. The workshop describes how to access data and how to implement database functionality by using Microsoft ADO.NET 2.0 and Microsoft SQL Server 2005. The workshop also describes how to locate, edit, and transform XML by using XPath and Extensible Style sheet Language for Transformations (XSLT).

Course Objectives

On completion of this course, delegates should be able to:

  • Minimize and handle database operation conflicts
  • Handle large objects
  • Enhance database performance
  • Create managed code objects for SQL Server 2005
  • Query XML by using XPath
  • Transform XML by using XSLT style sheets

Intended Audience

This workshop is intended for corporate and Independent Software Vendor (ISV) application developers who have a desire to learn more about specific technology areas in distributed application development.

Course Prerequisites

Before attending this course, students must:

  • Have attended or studied Workshop 2541, Core Data Access with Microsoft Visual Studio 2005, or possess equivalent knowledge and skills
  • Know how to use delegates
  • Be able to use database stored procedures, triggers, and aggregates
  • Be able to explain XPath concepts and basic syntax
  • Be able to explain XSLT style sheet concepts

Microsoft Certified Professional Exams

There is no Microsoft Certified Professional exam associated with this course.

Publicly scheduled dates, locations, and prices

Central London — £395 (+VAT)

  • 21–22 Aug 2008
  • 4–5 Sep 2008
  • 23–24 Oct 2008
  • 6–7 Nov 2008
  • 4–5 Dec 2008
  • 5–6 Feb 2009
  • 16–17 Apr 2009
  • 11–12 Jun 2009

Leeds — £395 (+VAT)

  • 24–25 Jul 2008
  • 25–26 Sep 2008
  • 13–14 Nov 2008

Manchester — £395 (+VAT)

  • 21–22 Aug 2008
  • 25–26 Sep 2008
  • 9–10 Oct 2008
  • 4–5 Dec 2008

Leicester — £395 (+VAT)

  • 11–12 Sep 2008
  • 16–17 Oct 2008
  • 4–5 Dec 2008

Sunderland — £395 (+VAT)

  • 21–22 Aug 2008
  • 9–10 Oct 2008

Glasgow — £395 (+VAT)

  • 21–22 Aug 2008

Outline Course Contents

Unit 1: Minimizing and Handling Database Operation Conflicts

This unit describes how to minimize data access conflicts, and how to handle these conflicts when they occur. It describes how to implement optimistic concurrency in the ADO.NET disconnected model, and how to implement optimistic concurrency by using the various isolation levels available in SQL Server 2005.

  • Why Do Data Conflicts Arise?
  • Isolation Levels Available in SQL Server 2005
  • Guidelines for Using SQL Server 2005 Isolation Levels
  • Lab 1: Minimizing and Handling Database Operation Conflicts

After completing this unit, students will be able to:

  • Explain why data conflicts arise
  • Describe the isolation levels that are available in SQL Server 2005
  • Describe the guidelines for using SQL Server 2005 isolation levels
  • Read committed data by using locks
  • Read committed data by using statement-level snapshots
  • Read committed data by using transaction-level snapshots
  • Handle data concurrency by using ADO.NET.

Unit 2: Handling Large Objects

This unit describes how to read and write large values efficiently to a SQL Server database. It describes how to read large binary values and large text values by using SequentialAccess for a SqlDataReader. It also describes how to write large binary values and large text values, and how to conserve resources when writing large values.

  • What Are Binary Large Objects and Character Large Objects?
  • The Process for Reading Large Objects from a Database
  • The Process for Writing Large Objects to a Database
  • Lab 2: Handling Large Objects

After completing this unit, students will be able to:

  • Describe binary large objects and character large objects
  • Explain the process for reading large objects from a database
  • Explain the process for writing large objects to a database
  • Read large values from SQL Server
  • Write large values to SQL Server
  • Conserve resources when writing large values to SQL Server

Unit 3: Enhancing Database Performance

This unit describes how to enhance database performance by using new features available in ADO.NET 2.0. The unit describes how to perform asynchronous data operations, create multiple active result sets, perform batch updates, and perform bulk copies.

  • ADO.NET Enhancements in the .NET Framework 2.0
  • SQL Server Provider Statistics
  • Lab 3: Enhancing Database Performance

After completing this unit, students will be able to:

  • Describe the ADO.NET enhancements in Microsoft .NET Framework 2.0
  • Describe the support for run-time statistics in the .NET Framework Data Provider for SQL Server
  • Access multiple result sets concurrently
  • Perform asynchronous data access operations
  • Perform a batch update
  • Perform a bulk data copy

Unit 4: Creating Managed Code Objects for SQL Server 2005

This unit describes how to create database objects for SQL Server 2005 in a .NET Framework programming language. It describes how to create stored procedures, triggers, user-defined functions, aggregates, and user-defined types in managed code. Additionally, it describes how to deploy an assembly that contains managed objects into SQL Server 2005, and how to declare database objects to reference the managed objects.

  • The Benefits of Creating Managed Code Objects
  • Demonstration: The Process for Importing an Existing Assembly into SQL Server 2005
  • Demonstration: The Process for Implementing Managed Code Objects in SQL Server 2005
  • Lab 4: Creating Managed Code Objects for SQL Server 2005

After completing this unit, students will be able to:

  • Describe the benefits of creating managed code objects for SQL Server 2005
  • Explain the process for importing an existing assembly into SQL Server 2005
  • Explain the process for implementing managed code objects in SQL Server 2005
  • Create managed stored procedures and triggers
  • Create managed user-defined functions
  • Create a managed aggregate
  • Create a managed user-defined type

Unit 5: Querying XML by Using XPath

This unit describes how to use XPath in a .NET Framework application. It describes how to create an XPathNavigator object on an XML document, and how to locate content and evaluate expressions by using the XPathNavigator object. Additionally, it describes how to edit XML data by using the XPathNavigator object.

  • The XPath Data Model
  • The Process for Selecting and Editing XML Data by Using XPathNavigator
  • The Process for Evaluating XPath Expressions by Using XPathNavigator
  • Lab 5: Querying XML by Using XPath

After completing this unit, students will be able to:

  • Describe the XPath data model
  • Explain the process for selecting and editing XML data by using XPathNavigator
  • Explain the process for evaluating XPath expressions by using XPathNavigator
  • Select XML data by using XPathNavigator
  • Evaluate XPath expressions by using XPathNavigator
  • Create and use compiled XPath expressions
  • Edit XML data by using XPathNavigator

Unit 6: Transforming XML by Using XSLT Style Sheets

This unit describes how to transform XML documents in a .NET Framework application. It introduces how to load an XSLT style sheet in an application, and how to execute the style sheet to transform an XML document. The unit also describes how to pass parameters into a style sheet, and how to create and use extension objects.

  • What Is XSLT?
  • The Process for Executing an XSLT Style Sheet
  • What Are Extension Objects?
  • Lab 6: Transforming XML by Using XSLT Style Sheets

After completing this unit, students will be able to:

  • Describe the purpose of XSLT
  • Explain the process for executing an XSLT style sheet
  • Describe the purpose of extension objects
  • Transform an XML document by using an XSLT style sheet
  • Resolve external resources during XSLT processing
  • Pass parameters into an XSLT style sheet
  • Create and use extension objects.

Visual Studio training UK enquiries

UK Training enquiries and feedback form.

Visual Studio training UK prices

For publicly scheduled training (individual places), see our UK training schedule.

In-house training for company groups is charged at a daily rate per group — see our In-House UK Training Guidelines.

Publicly Scheduled Training Locations

We currently run public training courses in the following locations:

  • London, UK
  • Leeds, West Yorkshire, UK
  • Birmingham, West Midlands, UK
  • Carshalton, Surrey, UK
  • Chester, North West, UK
  • Coventry, West Midlands, UK
  • Edinburgh, Scotland, UK
  • Glasgow, Scotland, UK
  • Harwell, Oxfordshire, UK
  • Manchester, North West, UK
  • Milton Keynes, Buckinghamshire, UK
  • Newark, Nottinghamshire, UK
  • Reading, Berkshire, UK
  • Slough, Berkshire, UK
  • Stevenage, Hertfordshire, UK
  • Wakefield, West Yorkshire, UK
  • Wokingham, Berkshire, UK

Most UK public training courses are available on a monthly basis.

Please see the individual course outlines or our public training schedule for details.

In-house (on-site) training locations

We deliver in-house courses at client premises and/or training facilities in any part of the world which is practically and commercially accessible.

Our In-house training guidelines outline our basic requirements and our UK pricing structure. To estimate costs for training in other countries, simply convert to your local currency and then make a rough calculation of our tutor's costs for travelling to and staying at your location.


West Yorkshire Office

GBdirect Ltd
Training Division
Bradford Design Exchange
34 Peckover Street
BRADFORD
BD1 5BD
West Yorkshire
United Kingdom

training@gbdirect.co.uk

Training: 0800 651 0338
General: +44 (0)870 200 7273
Finance: +44 (0)1353 615 174

Please call between 0900 and 1700 (UK time) on Monday to Friday


South East Regional Office

GBdirect Ltd
Training Division
18 Lynn Rd
ELY
CB6 1DA
Cambridgeshire
United Kingdom

training@gbdirect.co.uk

Training: 0800 651 0338
General: +44 (0)870 200 7273
Finance: +44 (0)1353 615 174

Please call between 0900 and 1700 (UK time) on Monday to Friday


Please note:
Non-training enquiries should be directed, initially, to our UK national office in Bradford (West Yorkshire), even if the enquiry concerns services delivered in London or South/East England. Clients in London and the South East will typically be handled by staff working in the London or Cambridge areas.