mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Add demo
This commit is contained in:
parent
2531eb8115
commit
4310c0328f
@ -69,9 +69,12 @@ namespace OrmTest
|
||||
.SetColumns(it => it.CreateTime == DateTime.Now)
|
||||
.Where(it => it.Id == 1).ExecuteCommand();
|
||||
//
|
||||
|
||||
|
||||
|
||||
var result61 = db.Updateable<Order>()
|
||||
.InnerJoin<Custom>((x, y) => x.CustomId == y.Id)
|
||||
.SetColumns((x, y) => new Order() { Name = y.Name, Price = y.Id })
|
||||
.Where((x, y) => x.Id == 1)
|
||||
.ExecuteCommand();
|
||||
|
||||
|
||||
/*** 3.by Dictionary ***/
|
||||
var dt = new Dictionary<string, object>();
|
||||
|
Loading…
Reference in New Issue
Block a user