LINQ to SQL: Reusing DataContext(developmentalmadness.blogspot.com)
submitted by
developmentalmadness(730) 2 years, 7 months ago
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.
|category: Linq
|Views: 161
tags:
LINQ another
Everyones tags:
Your Tags: