protected void WriteList(IEnumerable list, StringBuilder sql) { string sep = ""; foreach (SqlFragment s in list) { sql.Append(sep); sql.Append("\r\n"); s.WriteSql(sql); sep = ", "; } } }