Africa & Middle East

10.00 A.M - 10.00 P.M

Call us

10265: Developing Data Access Solutions with Microsoft Visual Studio 2010

Course Objectives

Evaluate a variety of business cases, and then select an appropriate combination of data access technologies and tools most appropriate to each case. Describe the roles of Entity Framework, WCF Data Services, and ADO.NET for building and maintaining applications. Use LINQ on top of these technologies to improve productivity and the quality of their applications.
Use the tools provided with the Entity Framework to map the conceptual model used by the business logic of an application to the logical data model provided by a database.
Query an Entity Data Model (EDM) by using common methods such as LINQ to Entities, Entity SQL, and the classes in the EntityClient namespace.
Perform data modification tasks on data in an EDM.
Explain the function of the Object Services model implemented by the Entity Framework and the support provided by the Object Services API for addressing the issues faced by enterprise applications that have to handle multiple concurrent users simultaneously accessing the same data .
Describe best practices for designing and building a scalable, optimized data access layer by using Object Services.
Customize and extend entities with their own business logic and use advanced mappings to shape the data model to their business and application requirements.
Reuse existing business classes in a data access layer built by using the Entity Framework.
Address the architectural issues that can arise when building an n-tier enterprise application by using the Entity Framework.
Build extensible solutions that can update data in an n-tier enterprise application by using the Entity Framework.
Access offline data or data that that has limited availability in client applications.
Design, develop, and consume a simple WCF Data Service.
Use WCF Data Services to update and delete data and to handle multi-user concerns.
Develop high performance, scalable ADO.NET applications that can query and update data.
Explain how LINQ to SQL enables development against a logical model which abstracts the low-level details of querying ADO.NET tables and result sets.

Course Outline

I. Module 1: Architecture and Data Access Technologies

1. Data Access Technologies

2. Data Access Scenarios

II. Module 2: Building Entity Data Models

1. Introduction to Entity Data Models

2. Modifying the Entity Data Model

3. Customizing the Entity Data Model

III. Module 3: Querying Entity Data

1. Retrieving Data by Using LINQ to Entities

2. Retrieving Data by Using Entity SQL

3. Retrieving Data by Using EntityClient Provider

4. Retrieving Data by Using Stored Procedures

5. Unit Testing Your Data Access Code

IV. Module 4: Creating, Updating, and Deleting Entity Data

1. Understanding Change Tracking in the Entity Framework

2. Modifying Data in an Entity Data Model

V. Module 5: Handling Multi-User Scenarios by Using Object Services

1. Handling Concurrency in the Entity Framework

2. Transactional Support in the Entity Framework

VI. Module 6: Building Optimized Solutions by Using Object Services

1. The Stages of Query Execution

2. Change Tracking and Object Materialization

3. Using Compiled Queries

4. Using Design-Time Generated Entity Framework Views

5. Monitoring Performance

6. Performing Asynchronous Data Modifications

VII. Module 7: Customizing Entities and Building Custom Entity Classes

1. Overriding Generated Classes

2. Using Templates to Customize Entities

3. Creating and Using Custom Entity Classes

VIII. Module 8: Using POCO Classes with the Entity Framework

1. Requirements for POCO Classes

2. POCO Classes and Lazy Loading

3. POCO Classes and Change Tracking

4. Extending Entity Types

IX. Module 9: Building an N-Tier Solution by Using the Entity Framework

1. Designing an N-Tier Solution

2. Defining Operations and Implementing Data Transport Structures

3. Protecting Data and Operations

X. Module 10: Handling Updates in an N-Tier Solution by Using the Entity Framework

1. Tracking Entities and Persisting Changes

2. Managing Exceptions in an N-Tier Solution

XI. Module 11: Building Occasionally Connected Solutions

1. Offline Data Caching by Using XML

2. Using the Sync Framework

XII. Module 12: Querying Data by Using WCF Data Services

1. Introduction to WCF Data Services

2. Creating a WCF Data Service

3. Consuming a WCF Data Service

4. Protecting Data and Operations in a WCF Data Service

XIII. Module 13: Updating Data by Using WCF Data Services

1. Creating, Updating, and Deleting Data in a WCF Data Service

2. Preventing Unauthorized Updates and Improving Performance

3. Using WCF Data Services with Nonrelational Data

XIV. Module 14: Using ADO.NET

1. Retrieving and Modifying Data by Using ADO.NET Commands

2. Retrieving and Modifying Data by Using DataSets

3. Managing Transactions and Concurrency in Multiuser Scenarios

XV. Module 15: Using LINQ to SQL

1. Implementing a Logical Data Model by Using LINQ to SQL

2. Managing Performance and Handling Concurrency