mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Add demo
This commit is contained in:
parent
e773976eb3
commit
d316137e0c
@ -101,6 +101,11 @@ namespace OrmTest
|
||||
//Use Lock
|
||||
db.Updateable(updateObj).With(SqlWith.UpdLock).ExecuteCommand();
|
||||
|
||||
db.Updateable<object>()
|
||||
.AS("Order")
|
||||
.SetColumns("name", 1)
|
||||
.Where("id=1").ExecuteCommand();
|
||||
|
||||
//Where Sql
|
||||
//db.Updateable(updateObj).Where("id=@x", new { x = 1 }).ExecuteCommand();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user