mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 04:35:29 +08:00
Add demo
This commit is contained in:
parent
e46f215802
commit
1e2447fadb
@ -176,6 +176,7 @@ namespace OrmTest
|
|||||||
db.UpdateableByObject(o).ExecuteCommandAsync().GetAwaiter().GetResult();
|
db.UpdateableByObject(o).ExecuteCommandAsync().GetAwaiter().GetResult();
|
||||||
object os = db.Queryable<Order>().Take(2).ToList();
|
object os = db.Queryable<Order>().Take(2).ToList();
|
||||||
db.UpdateableByObject(os).ExecuteCommand();
|
db.UpdateableByObject(os).ExecuteCommand();
|
||||||
|
db.UpdateableByObject(os).IgnoreColumns("name","price").ExecuteCommand();
|
||||||
Console.WriteLine("#### Updateable End ####");
|
Console.WriteLine("#### Updateable End ####");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user