public void AddScalar(SqlCommand command, string tableNames, int expireTime, object value, int organizationID)
        {
            if (!GlobalCacheEnabled)
            {
                return;
            }
            CacheScalar item = new CacheScalar();

            item.Value = value;
            AddItem(item, command, tableNames, expireTime, organizationID);
        }
        public object GetScalar(SqlCommand command)
        {
            CacheScalar item = GetCacheItem(GetIndexString(command)) as CacheScalar;

            if (item != null)
            {
                return(item.Value);
            }
            else
            {
                return(null);
            }
        }