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].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.