Visual Studio 2008: ADO.NET 3.5
Revision: TE4510_20081030
- Course Length:
- 2 Days
- Course Description:
- This two-day instructor-led course provides students with the knowledge and skills to access and modify data by using ADO.NET 3.5.
- Who Should Attend:
- This course is intended for application developers who know how to create applications in Visual Studio 2005 or 2008.
- Benefits of Attendance:
-
Upon completion of this course, students will be able to:
- Describe the purpose and structure of ADO.NET 3.5.
- Explain the role of data providers in ADO.NET 3.5.
- List the technologies and techniques available for managing data with ADO.NET 3.5.
- Insert, update, and delete data by using ADO.NET Command objects.
- Implement transactions to control data integrity and concurrency.
- Define and use a DataSet for retrieving data.
- Use a DataSet to update a database.
- Use a DataSet as a local cache in an occasionally connected environment.
- Define LINQ queries for selecting data from an in-memory data structure.
- Use LINQ to SQL to query data in a database.
- Use LINQ to SQL to modify data and save changes to the database.
- Explain how to use the ADO.NET Entity Framework to map a database schema to a logical business model.
- Use the ADO.NET Entity Framework to query and manage data.
- Explain how Synchronization Services supports occasionally-connected solutions.
- Use Synchronization Services to download data from a SQL Server database.
- Use Synchronization Services to upload data to a SQL Server database.
- Prerequisites:
- Before attending this course, students should have intermediate experience developing applications by using previous versions of Microsoft Visual Studio at level 200.
- Course Outline:
-
- Module 1: Getting Started with ADO.NET 3.5
- The Structure of ADO.NET 3.5
- Connecting to a Database and Retrieving Data
- Best Practices for Managing Connections and Performing Queries
- Lab: Connecting to a Database and Retrieving Data
- Connecting to a Database
- Executing a Simple Query
- Executing a Query That Returns a Result Set
- Executing a Query That Requires Parameters
- Module 2: Modifying Data by Using ADO.NET Commands
- Inserting, Updating, and Deleting Data
- Managing Data Integrity and Concurrency
- Lab: Modifying Data by Using ADO.NET Commands
- Inserting, Updating, and Deleting Data in a Database
- Implementing Transactional Updates
- Executing Commands Asynchronously
- Module 3: Querying and Maintaining Data by Using DataSets
- Creating and Using a DataSet to Retrieve Data
- Updating a Database by Using a DataSet
- Using a DataSet in an Occasionally Connected Environment
- Lab: Using a DataSet to Retrieve and Modify Data
- Creating a Typed DataSet
- Retrieving Data into a DataSet
- Modifying Data in a DataSet
- Saving a DataSet and Resolving Conflicts
- Module 4: Querying and Maintaining Data by Using LINQ
- Querying In-Memory Data by Using LINQ Query Expressions
- Retrieving Data by Using LINQ to SQL
- Modifying Data by Using LINQ to SQL
- Lab: Using LINQ to SQL to Retrieve and Modify Data
- Querying Data by Using LINQ to SQL Query Expressions
- Retrieving Data by Using LINQ to SQL Entity Classes
- Modifying Data by Using LINQ to SQL
- Module 5: Implementing an Entity Model by Using the ADO.NET Entity Framework
- Creating an Entity Data Model by Using the ADO.NET Entity Framework
- Querying and Modifying Data by Using the ADO.NET Entity Framework
- Lab: Using the ADO.NET Entity Framework to Implement an Entity Data Model
- Creating an Entity Data Model
- Querying and Modifying Data in an Entity Data Model
- Instantiating and Manipulating Entities by Using Object Services
- Module 6: Building Occasionally Connected Solutions by Using Synchronization Services
- Understanding Microsoft Synchronization Services
- Downloading Data by Using Synchronization Services
- Uploading Data by Using Synchronization Services
- Lab: Building Occasionally Connected Solutions by Using Synchronization Services
- Modifying a Database Schema to Support Synchronization
- Downloading Data to a Client Computer
- Uploading Data Changes to the Database
- Module 1: Getting Started with ADO.NET 3.5













