MySql.Data.Entity.SqlFragment.WriteList C# (CSharp) Method

WriteList() protected method

protected WriteList ( IEnumerable list, StringBuilder sql ) : void
list IEnumerable
sql StringBuilder
return void
        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 = ", ";
            }
        }
    }