Пример #1
0
 public virtual void Dispose()
 {
     if (tsBaseClient != null)
     {
         tsBaseClient.Dispose();
         tsBaseClient = null;
     }
 }
Пример #2
0
 public void Dispose()
 {
     Log.Write(Log.Level.Info, "Closing QueryConnection...");
     if (tsBaseClient != null)
     {
         tsBaseClient.Dispose();
         tsBaseClient = null;
     }
 }