Home / General / Lightweight Promotable Transactions, SqlDataReader and Commitment.
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Lightweight Promotable Transactions, SqlDataReader and Commitment.

Here's a small issue you may need to watch out for when using a System.Transactions transaction with SqlClient v2.0 and Sql Server 2005.  This combination is required to get LWPTs.


The basics of LWPTs have been pretty widely discussed (here's an example: http://blogs.msdn.com/angelsb/archive/2004/07/12/181385.aspx), so I won't go into it too much.  The tricky part I'm looking at is when the transaction ends.  Let's look at an example:


  SqlConnection conn = new SqlConnection(someConnectionString);







Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured Product

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites