コード例 #1
0
        void InitSendSql()
        {
            string resultSql;

            if (dedupe)
            {
                resultSql = string.Format(dedupSql, dedupeTable) + string.Format(sql, Table);
            }
            else
            {
                resultSql = string.Format(sql, Table);
            }

            sendSql = ConnectionHelpers.WrapInNoCount(resultSql);
        }
コード例 #2
0
 void InitSql()
 {
     writeSql = ConnectionHelpers.WrapInNoCount(string.Format(writeSqlFormat, table));
     readSql  = ConnectionHelpers.WrapInNoCount(string.Format(readSqlFormat, table));
 }