private static void RemoveIntegrationConfigData(ID itemID, List <string> keyListItems)
        {
            foreach (var key in keyListItems)
            {
                CacheableIntegrationItemInfo cacheableIntegrationItemInfo = Instance.InnerCache.GetValue(key) as CacheableIntegrationItemInfo;
                if (cacheableIntegrationItemInfo != null && cacheableIntegrationItemInfo.ParentItemId == itemID)
                {
                    ID id = new ID(key.Substring(ItemPrefix.Length));

                    CacheableIntegrationConfigData cacheableIntegrationConfigData = GetIntegrationConfigData(id);
                    if (cacheableIntegrationConfigData != null)
                    {
                        RemoveIntegrationConfigData(id, keyListItems);
                        Instance.InnerCache.Remove(FolderPrefix + id);
                    }

                    Instance.InnerCache.Remove(key);
                }
            }

            Instance.InnerCache.Remove(FolderPrefix + itemID);
            Instance.InnerCache.Remove(ItemPrefix + itemID);
        }
        /// <summary>
        /// Get integration configuration data from the cache.
        /// </summary>
        /// <param name="itemID">
        /// The item id.
        /// </param>
        /// <returns>
        /// Integration configuration data from the cache.
        /// </returns>
        protected CacheableIntegrationConfigData DoGetIntegrationConfigData(ID itemID)
        {
            CacheableIntegrationConfigData info = GetObject(FolderPrefix + itemID) as CacheableIntegrationConfigData;

            return(info);
        }
        /// <summary>
        /// Get integration configuration data from the cache.
        /// </summary>
        /// <param name="itemID">
        /// The item id.
        /// </param>
        /// <returns>
        /// Integration configuration data from the cache.
        /// </returns>
        protected CacheableIntegrationConfigData DoGetIntegrationConfigData(ID itemID)
        {
            CacheableIntegrationConfigData info = this.InnerCache[FolderPrefix + itemID] as CacheableIntegrationConfigData;

            return(info);
        }