Murach's ADO.NET 3.5, LINQ,
and the Entity Framework with C# 2008

How to work with transactions

This chapter shows you how to work with related SQL commands as a group, called a transaction, so that none of the commands are applied to the database unless all of the commands are. This is an important skill for critical applications.

Chapter 8 How to work with transactions
How to use transactions 260
How to start a transaction 260
How to associate commands with a transaction 260
How to commit or rollback a transaction 260
How to work with save points 262
An introduction to concurrency and locking 264
The four concurrency problems that locks can prevent 264
How to work with isolation levels 266
A Transfer Payment application that uses transactions 268
The user interface 268
The code for the InvoiceDB class 270
The code for the Transfer Payment form 274




Murach's ADO.NET 3.5 with C# 2008

Learn more about this book

View the table of contents


More about the eBook



Our 100% Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a prompt refund...no questions asked.