Error!
Success!

LINQ to SQL and Transactions

0
kicks

LINQ to SQL and Transactions  (Unpublished)

Using explicit Transactions with Linq to Sql is fairly rare but when you need them you'll find that it natively doesn't provide manual transaction management. Rather you have to rely on the TransactionScope class to provide transaction wrapping. Here's a contrived example, and a couple of different transaction scenarios using TransactionScope to manage multiple L2S data operation as a single transaction.


Kicked By:
Drop Kicked By: