"No Exceptions Caught By Code" (Page 427)

"No Exceptions Caught By Code" (Page 427)

Old forum URL: forums.lhotka.net/forums/t/4818.aspx


andrewem posted on Wednesday, May 07, 2008

Hi,

I noticed on page 427 of Expert VB 2007 Business Objects SE, there is a line that aread "You should also notice that no exceptions are caught by this code". We are using Sql Transactions. Without handling exceptions, how do you rollback the transaction?

A

andrewem replied on Wednesday, May 07, 2008

Don't worry about it, we realized that this is now handled by .NET 2.0 using the attribute below.

<Transactional(TransactionalTypes.TransactionScope)> _

Copyright (c) Marimer LLC