views:

97

answers:

1

Is it possible to wrap some "external" API code AND a LINQ data context into a transaction? In my case, I want to wrap the ASP.NET 2.0 Membership API calls AND my own LINQ operations into a transaction.

+3  A: 

You should be able to do this if you wrap everything within a TransactionScope object.

Randy Minder