/// <summary> /// Returns a SQL-string that represents the current object. /// </summary> /// <returns></returns> public override string ToSql() { var sql = target.GetCustomization(); if (sql.Length > 0) { sql = string.Format("ORDER BY {0} ", sql); } return(sql); }