Norman,

It's simple: your assumption is not correct.
NHibernate transactions automatically enlist in the scope transactions, but
they are still needed (i.e. having a TransactionScope does NOT create a NH
transaction)

   Diego


On Wed, Apr 21, 2010 at 09:57, Norman <[email protected]> wrote:

> Diego - can you please explain why both "new TransactionScope()" and
> "session.BeginTransaction()" are required? My understanding is that
> when using TransactionScope there is no need to create a transaction
> with the session as one is created automatically.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to