mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 20:43:46 +08:00
Add Storageable(List<Dictionary<string,object>> dictionaryList,string tableName)
This commit is contained in:
@@ -66,6 +66,12 @@ namespace OrmTest
|
||||
.WhereColumns("id").ToStorage();
|
||||
x4.AsDeleteable.ExecuteCommand();
|
||||
|
||||
var dicList = db.Queryable<Order>().Take(10).ToDictionaryList();
|
||||
var x5 =
|
||||
db.Storageable(dicList, "order")
|
||||
.WhereColumns("id").ToStorage();
|
||||
x5.AsUpdateable.IgnoreColumns("items").ExecuteCommand();
|
||||
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("#### Saveable End ####");
|
||||
}
|
||||
|
Reference in New Issue
Block a user