Flush mode is Commit.

The repository Persist method is:

            SessionManager.Instance.BeginTransaction();
            try
            {
                Session.Flush();
                SessionManager.Instance.CommitTransaction();
            }
            catch (Exception)
            {
                SessionManager.Instance.RollbackTransaction();
                throw;
            }

The Session Manager begin, commit, rollback wraps access to the
NHibernate transaction
--~--~---------~--~----~------------~-------~--~----~
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