I was wondering about that too ;) Thanks for posting that question just a
bit earlier than me...

On Thu, Aug 12, 2010 at 9:11 AM, raghavsri <[email protected]> wrote:

> Hi .
> I have seen example .. where some program uses
> trasnsaction scope inside a session scope
> some example uses session scope inside the transaction scope..
>
> When to use what .. ex1 and ex2...?
>
> ex1:
> using(new SessionScope(FlushAction.Never))
> {
>   using(TransactionScope tx = new
> TransactionScope(OnDispose.Rollback))
>
> ex2:
>
> using(new TransactionScope ())
> {
>   using(SessionScope(FlushAction.Never))
>
>
> Thanks in advance..
> Regards
> Raghavendra
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To post to this group, send email to [email protected]
> .
> To unsubscribe from this group, send email to
> [email protected]<castle-project-users%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to