/// <summary> /// Check if the current object has expired /// </summary> /// <returns></returns> public bool IsSqlItemExpired(string cacheKey, string connectionString) { int count = 0; IDictionary dbSyncData = _sqlConPool.GetResourceSyncInfo(connectionString); if (dbSyncData != null && dbSyncData.Contains(cacheKey)) { return(true); } return(false); }