public string MakeOrder() { string strOrder = " ORDER BY "; int iCount = 0; int iOrderCount = hsOrder.Count; if (0 == iOrderCount) { return(""); } foreach (DictionaryEntry de in hsOrder) { strOrder += de.Key.ToString() + " " + QueryOperationSign.GetOrderOperationString((QueryOperationSign.OrderOperation)de.Value); iCount++; if (iCount != iOrderCount) { strOrder += ","; } } return(strOrder); }