/// <summary> /// The caller must update its reference to point to the new data tree and subnode B-tree /// </summary> public override void SaveChanges() { base.SaveChanges(); if (m_subnodeBTree != null) { m_subnodeBTree.SaveChanges(); } }
/// <summary> /// The caller must update its reference to point to the new data tree and subnode B-tree /// </summary> public void SaveChanges() { if (m_subnodeRows != null) { m_subnodeRows.SaveChanges(); m_subnodeBTree.UpdateSubnodeEntry(m_tcInfo.hnidRows.NodeID, m_subnodeRows.DataTree, m_subnodeRows.SubnodeBTree); } m_heap.SaveChanges(); if (m_subnodeBTree != null) { m_subnodeBTree.SaveChanges(); } }
/// <summary> /// The caller must update its reference to point to the new data tree and subnode B-tree /// </summary> public virtual void SaveChanges() { if (!m_file.IsSavingChanges) { throw new Exception("Implementer must call PSTFile.BeginSavingChanges() before saving changes"); } if (m_propertyContext != null) { m_propertyContext.FlushToDataTree(); } if (m_dataTree != null) { m_dataTree.SaveChanges(); } if (m_subnodeBTree != null) { m_subnodeBTree.SaveChanges(); } }