Easier Database Transactions - Extending the Using Statement to Perform Automatic Database Transactions

来源:互联网 发布:淘宝最幽默的欢迎语 编辑:程序博客网 时间:2024/04/30 06:07

http://www.codeproject.com/cs/database/EasyTransactions.asp

Easier Database Transactions - Extending the Using Statement to Perform Automatic Database Transactions
By
Chad Z. Hower aka Kudzu

Any user who works with database updates uses transactions. Transactions in ADO.NET are done using a transaction object, and a try..catch, but there is an easier, one might even say a more C# way to handle database transactions. 

原创粉丝点击