zoukankan      html  css  js  c++  java
  • mojoportal中提示错误:parameter's type doesn't match cached parameters

      注释掉SqlParameterHelper.cs中如下代码:

     //Debug.Assert(arParams[index].Direction == dir, "parameter's direction doesn't match cached parameters");
                //Debug.Assert(string.Equals(arParams[index].ParameterName,paramName, StringComparison.InvariantCultureIgnoreCase), "parameter's name doesn't match cached parameters");
                //Debug.Assert(
                //    ((type != SqlDbType.NText)
                //        && (arParams[index].SqlDbType == type))
                //        ||
                //    ((type == SqlDbType.NText)
                //    && (arParams[index].SqlDbType == SqlDbType.NVarChar))
                //    ||
                //    ((type == SqlDbType.Image)
                //    && (arParams[index].SqlDbType == SqlDbType.VarBinary))
                //    , "parameter's type doesn't match cached parameters"
                //    );

  • 相关阅读:
    CLR via C#深解笔记三
    CLR via C#深解笔记二
    CLR via C#深解笔记一
    C#参考:Linq 概述
    JavaScript
    jQuery
    JavaScript
    云原生
    python模块----optparse模块、argparse模块 (命令行解析模块)
    python模块----pymysql模块 (连接MySQL数据库)
  • 原文地址:https://www.cnblogs.com/wenjie/p/1885204.html
Copyright © 2011-2022 走看看