mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 12:33:44 +08:00
Add demo
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user