private void CommitNewObjects() { if (m_commitQueue.Count == 0) { return; } CommitResult result = m_client.CommitObjects(m_ownGuid, m_commitQueue.ToArray()); for (int i = 0; i < result.ObjectsIds.Count; i++) { UpdateMaxId(result.ObjectsIds[i]); m_commitQueue[i].Id = result.ObjectsIds[i]; } m_commitQueue.Clear(); }