Error!
Success!

LINQ to SQL: Reusing DataContext

0
kicks

LINQ to SQL: Reusing DataContext  (Unpublished)

When you're using Transactions with Linq to SQL you need to make sure your operations use the same DataContext in order to avoid using DTC. But this gets a little tricky when your DAL doesn't directly expose your DataContext. Here's an example of how you can solve this problem.


Kicked By:
Drop Kicked By: