BUG反馈 返回

C#论坛 老数据
1 3036
该叫什么 if 发布于2017/7/6
悬赏:5 飞吻


 IUpdateable<T> updateAction = _contenxt.Updateable(t);
            if (columns != null)
            {
                updateAction = updateAction.UpdateColumns(columns);
            }
            if (express != null)
            {
                updateAction = updateAction.IgnoreColumns(express);
            }
            var aaa = updateAction.ToSql();// 添加了这句话后
            updateAction.ExecuteCommand(); // 这里就要报错,报错的是,参数已存在(目次是参数又被重复添加了)
            
            error msg
            Parameter '@SellerID' has already been defined.”
            
            使用的是mysql数据库


热忱回答1