How to Write Atomic Transactions in .NET
page 6 of 7
by Keyvan Nayyeri
Average Rating: 
Views (Total / Last 10 Days): 37314/ 46

Test Results

Next, I ran my application to test my component.  Before doing this, I checked the current state of my database and Component Services Transaction Statistics:

Figure 5

Figure 6

I ran my application and gave valid values (1 for ID and 5 for value) to it.  The result was normal in the database, but look at the Transaction Statistics.

Figure 7

Figure 8

S now I provide an invalid value, say 11, for my application to throw an exception in my Atomic transaction.  Nothing will change in the database, but the Transaction Statistics show an Aborted transaction.  The normal form database must be updated because the value must be added to the database before exception.

Figure 9

Figure 10

View Entire Article

User Comments

Title: ASAS   
Name: ASAS
Date: 2012-08-01 7:53:47 AM
Title: Very Gud   
Name: Soby
Date: 2007-06-09 7:26:03 AM
This is very Help for me

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-07-25 12:49:06 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search