BUG反馈 返回
C#论坛
老数据
1
3036
悬赏: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)
-
fate stay night VIP0
2017/7/6tosql用于调试,不要一起使用
0 回复