private static void ProcessTags(List <StoreForPromotion> storeList) { if (storeList.Count != 0) { string storeId = (from t in storeList select t.StoreId.ToString()).Aggregate((string t, string n) => t + "," + n); StoreTagDao storeTagDao = new StoreTagDao(); Dictionary <int, List <StoreTagInfo> > dicTag = storeTagDao.GetMyTags(storeId); storeList.ForEach(delegate(StoreForPromotion r) { if (dicTag.ContainsKey(r.StoreId)) { r.Tags = (from t in dicTag[r.StoreId] select t.TagName).Aggregate((string m, string n) => m + " " + n); } }); } }