update table1 set name='a' where id=1
update table1 set name='b' where id=2
update table1 set name='c' where id=3
update table1 set name='d' where id=4
条件不一样,赋值也不一样
...全文
1729打赏收藏
下面的语句用lambda怎么写?
一条update语句的lambda我会写, 但是多个怎么写? 例如: update table1 set name='a' where id=1 update table1 set name='b' where id=2 update table1 set name='c' where id=3 update table1 set name='d' where id=4 条件不一样,赋值也不一样