Beispiel #1
0
        private void PrepareSql(ref string sql, int max_rows)
        {
            if (max_rows != 0)
            {
                sql = GetLimitLines(sql, max_rows);
            }

            if (QueryParam.HasParameters)
            {
                sql = string.Format(sql, QueryParam.Get());
            }

            QueryParam.Clear();

            LastSql = sql;
        }