mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-19 09:42:20 +08:00
Add demo
This commit is contained in:
@@ -72,6 +72,10 @@ namespace OrmTest
|
||||
.Where((x, y) => x.Id == 1)
|
||||
.ExecuteCommand();
|
||||
|
||||
db.Updateable<Order>().SetColumns(it => it.Name == "a")
|
||||
.Where(it => SqlFunc.Subqueryable<Order>().Where(s=>s.Id==it.Id).Any())
|
||||
.ExecuteCommand();
|
||||
|
||||
|
||||
/*** 3.by Dictionary ***/
|
||||
var dt = new Dictionary<string, object>();
|
||||
|
||||
Reference in New Issue
Block a user