Click here to Skip to main content
15,878,852 members
Home / Discussions / C#
   

C#

 
JokeRe: The magic of TransactionScope Pin
Le centriste12-Jul-07 1:54
Le centriste12-Jul-07 1:54 
GeneralRe: The magic of TransactionScope Pin
Martin#12-Jul-07 1:59
Martin#12-Jul-07 1:59 
AnswerRe: The magic of TransactionScope Pin
Christian Graus12-Jul-07 2:41
protectorChristian Graus12-Jul-07 2:41 
GeneralRe: The magic of TransactionScope Pin
Martin#12-Jul-07 2:47
Martin#12-Jul-07 2:47 
GeneralRe: The magic of TransactionScope Pin
Le centriste12-Jul-07 2:51
Le centriste12-Jul-07 2:51 
AnswerRe: The magic of TransactionScope Pin
Pete O'Hanlon12-Jul-07 2:49
mvePete O'Hanlon12-Jul-07 2:49 
GeneralRe: The magic of TransactionScope Pin
Le centriste12-Jul-07 2:53
Le centriste12-Jul-07 2:53 
AnswerRe: The magic of TransactionScope Pin
Judah Gabriel Himango12-Jul-07 5:05
sponsorJudah Gabriel Himango12-Jul-07 5:05 
Hi Le Centriste,

I think the magic here is that System.Transactions uses COM+/Enterprise Library under the hood to enlist the SQL commands in a distributed transaction, and SQL knows this through the enlist parameter in the connection string. When Complete() is called, the transaction is committed, and if Dispose is called without a Complete() call, the transaction is rolled back.

*edit* oops, I see Pete already answered your question


Tech, life, family, faith: Give me a visit.
I'm currently blogging about: How could God prove Himself to humanity?
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


Questionhow to close child form on the click event of toolstrip button Pin
monuSaini12-Jul-07 0:44
monuSaini12-Jul-07 0:44 
AnswerRe: how to close child form on the click event of toolstrip button Pin
Bekjong12-Jul-07 2:04
Bekjong12-Jul-07 2:04 
QuestionC# USB Detection [modified] Pin
donovan.solms12-Jul-07 0:43
donovan.solms12-Jul-07 0:43 
AnswerRe: C# USB Detection Pin
Giorgi Dalakishvili12-Jul-07 1:10
mentorGiorgi Dalakishvili12-Jul-07 1:10 
AnswerRe: C# USB Detection Pin
Martin#12-Jul-07 1:38
Martin#12-Jul-07 1:38 
GeneralRe: C# USB Detection Pin
donovan.solms12-Jul-07 1:54
donovan.solms12-Jul-07 1:54 
QuestionHow to convert CSV file to XLS file using C# Programme Pin
liyakhat_shahid12-Jul-07 0:27
liyakhat_shahid12-Jul-07 0:27 
AnswerRe: How to convert CSV file to XLS file using C# Programme Pin
Bijesh12-Jul-07 1:06
Bijesh12-Jul-07 1:06 
GeneralRe: How to convert CSV file to XLS file using C# Programme Pin
liyakhat_shahid13-Jul-07 1:55
liyakhat_shahid13-Jul-07 1:55 
AnswerRe: How to convert CSV file to XLS file using C# Programme Pin
Jimmanuel12-Jul-07 1:15
Jimmanuel12-Jul-07 1:15 
AnswerRe: How to convert CSV file to XLS file using C# Programme Pin
martin_hughes12-Jul-07 2:30
martin_hughes12-Jul-07 2:30 
AnswerRe: How to convert CSV file to XLS file using C# Programme Pin
Pete O'Hanlon12-Jul-07 3:03
mvePete O'Hanlon12-Jul-07 3:03 
QuestionProblem with Cookies Enabled detection Pin
Adoremi11-Jul-07 23:10
Adoremi11-Jul-07 23:10 
AnswerRe: Problem with Cookies Enabled detection Pin
chandu_shar12-Jul-07 0:21
chandu_shar12-Jul-07 0:21 
Questiondisable all DataGridViewRowHeaderCell glyphs Pin
agent32711-Jul-07 22:37
agent32711-Jul-07 22:37 
QuestionProblems with configuring .Net hosted control Pin
drweb8611-Jul-07 22:24
drweb8611-Jul-07 22:24 
Questionradiobutton BeforeStateChange ? Pin
fracalifa11-Jul-07 22:20
fracalifa11-Jul-07 22:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.