Add Storageable(List<Dictionary<string,object>> dictionaryList,string tableName)

This commit is contained in:
sunkaixuan
2022-04-30 13:43:16 +08:00
parent e86b83f8a6
commit ee948ce685
4 changed files with 37 additions and 0 deletions

View File

@@ -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 ####");
}