请教 Update 语句 Where 中有 In 怎么使用 sqlsugar 编写. 返回
SqlSugar
老数据
1
2728
悬赏:5 飞吻
管理员:
你好:
如题, 比如这样的语句, 用 sqlsugar 怎么写呢?
UPDATE xxxxx set CodeStatus=@CodeStatus WHERE ActivityCode IN('1','2','3','4') and IsDelete=0
热忱回答(1)
-
fate stay night VIP0
2018/1/24int [] ids= new int[]{1,2,3,4}
Where(it=>ids.Contains(it.Id));
0 回复