示例#1
0
 /// <summary>
 /// Close the current domain context. call this after you are done with all the domain operations that requires interaction with NHibernate
 /// </summary>
 /// <remarks>
 /// Please read the remarks of the <see cref="NHibernate.Burrow.Impl.WorkSpace"/>
 /// </remarks>
 public void Close()
 {
     if (closed)
     {
         return;
     }
     closed = true;
     if (conversation != null)
     {
         conversation.OnWorkSpaceClose();
     }
 }