protected virtual ISession Wrap(ISession session)
 {
     if (UseSupportForOutsidePersistentCall)
     {
         return(Wrapper.WrapWithAutoTransaction(session, null, Unbind));
     }
     return(Wrapper.Wrap(session, null, Unbind));
 }