On-site & Public, Instructor-led, Hands-on IT Training
800.756.3000
(International 01) 908.233.8900
  400+ Course Offerings:


Search for Course:

NE2016 ADO.NET Using C#
 
 
Duration 3 Days
Delivery Method Instructor Led, Hands-on Workshops
Public Price $1625.00


DESCRIPTION (Return to Top)

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.0, Visual Studio 2010 and SQL Server 2008.

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. Language Integrated Query (LINQ) is covered in some detail, including LINQ to SQL, LINQ to DataSet and LINQ to Entities. The ADO.NET Entity Framework is introduced.

There are numerous example program implemented in a multiple-tier architecture, with separate tiers for data access and user interface. 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.



OBJECTIVES (Return to Top)

Upon successful completion of this course, the student will be able to:

  • Understand the architecture and main classes of ADO.NET
  • Gain fluency in programming ADO.NET using C#
  • Gain a thorough understanding of the use of disconnected DataSets for building highly scalable applications
  • Acquire a working knowledge of the tight coupling of XML with ADO.NET
  • Learn how to use additional features in ADO.NET, including asynchronous operations, multiple active result sets, and bulk copy
  • Acquire a working knowledge of LINQ and the Entity Framework
  • Implement a realistic case study that ties together many concepts of ADO.NET in a practical demonstration


TOPICS (Return to Top)
  • Introduction to ADO.NET
  • ADO.NET Connections
  • ADO.NET Commands
  • DataReaders and Connected Access
  • Data Sets and Disconnected Access
  • More About DataSets
  • XML and ADO.NET
  • Concurrency and Transactions
  • Additional Features
  • LINQ and Entity Framework
  • Appendix A. Acme Computer Case Study
  • Appendix B. Learning Resources


PREREQUISITES (Return to Top)

A basic knowledge of SQL and of programming the .NET Framework using C#. The student should also understand the fundamentals of XML. To get full benefit from the examples in the course the student should be able to write simple Windows Forms applications. A working knowledge of SQL Server is also desirable.