| 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.
posted by varson (7) 10 months ago (blogs.msdn.com)
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
Add a comment
Post voted by 1 digWinners
Featured Links
-
Free Download Trial: SharePoint Migration, Backup and Recovery Software
DocAve: Enterprise, full-fidelity backup & recovery software for SharePoint provides essential protection & management tools, and allows for a data migration from Exchange Public Folders in to SharePoint 2007 & 2003.
User
Sponsor
Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!
Featured Product
Categories
Upcoming NEW
- high quality casio lithium ion digital camera battery np-20
- Converting JasperReports to PowerPoint PPT and PPS formats
- Windows Data Recovery
- 5 Ingredients of Effective Wordpress Themes
- How to add Google Maps to your website?
- CANON BP-511 Battery
- CANON NB-4L Battery
- CANON NB-1LH Battery
- ASP.NET MVC & Threads
- CANON NB-2LH Battery
- JVC BN-VF714 Battery
- How to Remove DRM from iTunes AAC M4V M4P
- iPhone 3G new key features
- Aspose.Newsletter: How can you migrate VSTO code to Aspose.Cells?
- Windows8 = Codename Midori ?
- Simple AJAX Methodology
- Speeding Up Post Load Script
- Google anlaytics Wordpress plugin
- Preventing hacks on your WordPress blog
- Use FeedBurner to Manage Your WordPress Feeds
Recent comments
- Clean Box 3 Column Blogger Xml Template by denny
- Clean Box 3 Column Blogger Xml Template by Anonymous user
- Windows Data Recovery by windows (0)
- 0x86000209 sync error by Mike H
- iPhone 3G new key features by xiaowanzi (0)
- Plugged In, Not Charging - Windows Vista + Laptop by Toob
- Free 48 Hour Xbox 360 Live Trials - One Per Email Address by shane
- Microsoft DirectX 10.1 Version - Final Update for DirectX 10? by Anonymous user
- Roadsync Full Version - Free Software Download by Anonymous user
- Plugged In, Not Charging - Windows Vista + Laptop by Anonymous user



