/// <summary> /// 지정된 속성명의 인덱스를 제거합니다. /// </summary> /// <param name="propertyName">인덱스로 등록된 속성명</param> /// <returns>제거 여부. 속성명이 인덱스에 포함되어 있지 않다면 false를 반환한다.</returns> public bool RemoveIndex(string propertyName) { if (_indexes.ContainsKey(propertyName)) { return(_indexes.Remove(propertyName)); } return(false); }
public override void Initialize(ArrayList attribList) { IIndexStore store = null; if (attribList != null && attribList.Count > 0) { IEnumerator e = attribList.GetEnumerator(); while (e.MoveNext()) { string attribName = e.Current.ToString(); if (commonRbStores != null && commonRbStores.ContainsKey(_type + ":" + attribName)) { HashStore commonStore = (HashStore)commonRbStores[_type + ":" + attribName]; IndexTable.Add(attribName, commonStore); } else { store = new HashStore(); IndexTable.Add(attribName, store); } } if (commonRbStores != null && commonRbStores.ContainsKey(TAG_INDEX_KEY)) { store = (HashStore)commonRbStores[TAG_INDEX_KEY]; IndexTable.Add(TAG_INDEX_KEY, store); } else { store = new HashStore(); IndexTable.Add(TAG_INDEX_KEY, store); } } if (!IndexTable.ContainsKey(TAG_INDEX_KEY) && commonRbStores != null && commonRbStores.ContainsKey(TAG_INDEX_KEY)) { store = (HashStore)commonRbStores[TAG_INDEX_KEY]; IndexTable.Add(TAG_INDEX_KEY, store); } }