ADO.NET for Web Applications Using C# (VS 2015)

Course Description

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. <br> 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.
3 days
Contact us for pricing
Contact us for dates
Contact us for dates

Prerequisites

A basic knowledge of SQL and of programming the .NET Framework using C#. Participants 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.

Introduction to ADO.NET

Microsoft Data Access Technologies
From ADO to ADO.NET
ADO.NET Architecture
Namespaces and Classes
Interfaces
DataSets and Disconnected Access
First ADO.NET Programs
Acme Computer Case Study

ADO.NET Connections

.NET Data Providers
IDbConnection
Connection Classes
Connection Strings
Connection Pooling
Connection Events
Error Handling

ADO.NET Commands

IDbCommand
Command Objects
Creating Commands
Executing Commands
Parameterized Queries
Command Types
Using Stored Procedures
Batch Queries

DataReaders and Connected Access

DataReaders
IDataReader
IDataRecord
Type-Safe Accessors
Null Columns
ExecuteReader Options
Multiple Result Sets
Obtaining Schema Information

Data Sets and Disconnected Access

DataSet
DataAdapter
Command Objects
DataTable
DataColumn
DataRow
Row States and Versions
Accept or Reject Changes
DataTable Events
Updating a Database from a DataSet
Command Builders

More About DataSets

Filtering DataTables
Multiple Table DataSets
Schema
Constraints
Relations
Navigating a DataSet
DataMapping
Creating a DataSet Programmatically

XML and ADO.NET

Strong Coupling Between ADO.NET and XML
Rendering XML from a DataSet
Controlling XML Output
Reading XML into a DataSet
XML Schema and DataSets
Typed DataSets
Table Adapters
Synchronizing DataSets and XML
XML Serialization

Concurrency and Transactions

DataSets and Concurrency
Optimistic Concurrency
Pessimistic Concurrency
Handling Concurrency Violations
ADO.NET Transactions
Database Transactions

Additional Features

Asynchronous Database Operations
Multiple Active Result Sets
Bulk Copy

LINQ and Entity Framework

Language Integrated Query (LINQ)
Bridging Objects and Data
Using Object Relational Designer
Filtering, Ordering and Aggregation
Inserts, Deletes and Updates
LINQ to SQL
LINQ to DataSet
ADO.NET Entity Framework
LINQ to Entities

C#Visual StudioMicrosoft Visual StudioVisual Studio 2015Microsoft Visual Studio 2015ADO.NET