Data Deliverance Courseware

ADO.NET Using C#

Current Version: 4.7
Summary

This three-day intensive course teaches the essential elements of ADO.NET such that at the end of the course the programmer is able to utilize its tremendous database manipulation powers to build effective database applications. The course includes a major case study demonstrating the use of ADO.NET in a realistic setting. It is current to .NET 4.6, Visual Studio 2015 and SQL Server 2014.

The course opens with an overview of ADO.NET and its relation to previous Microsoft data access technologies. It includes a discussion of ADO.NET architecture, main interfaces and classes, and programming with both the connected and disconnected models. The database for the case study is introduced.

The next two chapters cover in detail Connection and Command objects, which are essential in both connected and disconnected database access scenarios. The following chapter covers DataReaders, which provide a fast, forward-only reading capability. Programming with DataReaders bears a close resemblance to programming with the vintage recordset object.

Then the course focuses on the backbone of ADO.NET: DataSet and its related classes, such as DataAdapter, DataTable, DataRow, DataColumn, DataRelation, TableMappings and ColumnMappings. DataSet is able to handle multiple tables while remaining disconnected. It is eminently suited for building highly scalable applications for the Web. The close relationship between ADO.NET and XML is covered in detail. Transactions and concurrency are covered.

Additional features of ADO.NET are covered, including asynchronous operations, multiple active result sets and bulk copy. The last chapter covers Language Integrated Query (LINQ) and Microsoft's Entity Framework.

There are numerous example program implemented in a multiple-tier architecture, with separate tiers for data access and user interface. The course uses the LocalDB version of SQL Server 2014 Express, which is recommended by Microsoft for developers. An appendix discusses moving from LocalDB to SQL Server.

This course comes with a separate lab manual that has detailed instructions for labs implementing ADO.NET programs with Windows Forms clients. A parallel course, 4121 ADO.NET for Web Applications Using C#, provides a lab manual for Web Forms clients. The Student Guide and Lab Manual are bound together in a single volume.

Prerequisites
Course Objectives
On completion of this course, the student should be able to
Length
3 Days

Format
Instructor-led course, with practical computer-based exercises.

Course Outline

Hardware and Software Requirements

Required software is Visual Studio 2015, which includes LocalDB, a lightweight version of SQL Server 2014 Express. The free Visual Studio Community 2015 may be used. The operating system should be Windows 7SP1 or more recent. See the appropriate course Setup Guide for details.

A good minimal hardware profile for this course would have a 1.8 GHz or equivalent CPU, 2 GB of RAM, and at least 10 GB of free disk space for tools installation and courseware.



Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 3

Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 4

Notice: Undefined variable: REMOTE_USER in /var/www/datadeliverance/inc/trademarks.inc on line 7

Notice: Undefined index: HTTP_REFERER in /var/www/datadeliverance/inc/trademarks.inc on line 7