建議把PrepareCommand(cmd, conn, null, cmdType, cmdText, commandParameters)方法的代碼也拿出來看看,可能是這個方法沒用生成正確的cmd實例