摘要: 使用事务能有效的避免更新数据时,旧数据没更新,新数据已经添加的情况。当然也可以通过SQL本身运行事务。 1 public static bool UpdateByTran(List<string>sqlList) 2 { 3 SqlConnection conn = new SqlConnectio 阅读全文
posted @ 2021-09-01 22:57 元数据 阅读(741) 评论(0) 推荐(0)