Handling transaction context using method attribute in linq to sql

Posted by ryudice on Stack Overflow See other posts from Stack Overflow or by ryudice
Published on 2010-04-23T01:09:35Z Indexed on 2010/04/23 1:13 UTC
Read the original article Hit count: 430

Filed under:
|
|
|
|

Is there a way to just put an attribute to a method so that the whole code in the method is executed in a transaction scope? I've seen this done in sharp architecture but I'm using Linq to sql not nhibernate. Thanks!

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET