Пример #1
0
 public void Dispose()
 {
     if (!isDisposed)
     {
         isDisposed = true;
         if (executeResult != null)
         {
             executeResult.Dispose();
         }
         else
         {
             session.Dispose();
         }
     }
 }
Пример #2
0
 public void Dispose()
 {
     executeResult.Dispose();
 }