public void ResetStream() { if (_sdeConnection == null) { return; } _sdeConnection.ResetStream(); }
public void Free(SdeConnection sdeConnection) { if (sdeConnection == null) { return; } lock (_thisLock) { if (_usedConnections.IndexOf(sdeConnection) != -1) { _usedConnections.Remove(sdeConnection); _freeConnections.Add(sdeConnection); sdeConnection.ResetStream(); sdeConnection.LastUse = DateTime.Now; } } }