Пример #1
0
 private void RemoveExternalProperty(int rowIndex, int columnIndex)
 {
     byte[] cellBytes = GetInternalCellBytes(rowIndex, columnIndex);
     if (cellBytes != null)
     {
         HeapOrNodeID heapOrNodeID = new HeapOrNodeID(cellBytes);
         NodeStorageHelper.RemoveExternalProperty(m_heap, m_subnodeBTree, heapOrNodeID);
     }
 }
Пример #2
0
        public void RemoveProperty(PropertyID propertyID)
        {
            PropertyContextRecord oldRecord = GetRecordByPropertyID(propertyID);

            if (oldRecord != null)
            {
                if (oldRecord.IsExternal)
                {
                    NodeStorageHelper.RemoveExternalProperty(this.Heap, m_subnodeBTree, oldRecord.HeapOrNodeID);
                }
                this.RemoveRecord(oldRecord.Key);
            }
        }