string sqlSelectSourceCount = @"SELECT  COUNT(*)  from  sourceTable";
            DbCommand commCount = db.GetSqlStringCommand(sqlSelectSourceCount);
            db.AddInParameter(commCount, "sourceTable", DbType.String, sourceTable);我要替换表明,可是这样sql语句执行报错,
就是替换参数的时候错了。怀疑 把sourceTable 替换成了‘表明’SQL