public void Dispose()
 {
     if (_myConnection != null)
     {
         _myConnection.Dispose();
         _myConnection = null;
     }
 }
 public void Init(Configuration cfg)
 {
     _config = (TstConnectorConfig)cfg;
     if (_config.resetConnectionCount)
     {
         _connectionCount = 0;
     }
     _myConnection = new MyTstConnection(_connectionCount++);
 }