mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Add db.UpdateableByObject(o).ExecuteCommandAsync()
This commit is contained in:
@@ -136,7 +136,7 @@ namespace OrmTest
|
||||
|
||||
|
||||
object o = db.Queryable<Order>().First();
|
||||
db.UpdateableByObject(o).ExecuteCommand();
|
||||
db.UpdateableByObject(o).ExecuteCommandAsync().GetAwaiter().GetResult();
|
||||
object os = db.Queryable<Order>().Take(2).ToList();
|
||||
db.UpdateableByObject(os).ExecuteCommand();
|
||||
Console.WriteLine("#### Updateable End ####");
|
||||
|
Reference in New Issue
Block a user