public void UpdateNodes() { var nodes = _mongoConnector.GetAllNodesFromChangeset(_localChangeset); _db.Open(); foreach (var node in nodes) { try { this.ProcessNode(node); } catch (Exception ex) { Debug.WriteLine(ex.Message); } } _db.Close(); }