If anybody is curious, I ended up doing this:
Dim tran As New TransactionScope()
Try
For Number As Integer = CitationStartNumber To
CitationEndNumber.Value
If CitationAdd(CitationType, Number, District) Then
CitationTotal += 1
Next
Catch ex As Exception
tran.VoteRollBack()
Finally
tran.Dispose()
End Try
Not sure if it's really waiting till the end or not, but it seems to
work. Wish I could get more input.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---