This commit is contained in:
sunkaixuan 2022-10-28 10:25:00 +08:00
parent bb23883a7d
commit 82a0221c48
2 changed files with 7 additions and 0 deletions

View File

@ -77,6 +77,7 @@ namespace OrmTest
var dt = new Dictionary<string, object>();
dt.Add("id", 1);
dt.Add("name", "abc");
dt.Add("CustomId", null);
dt.Add("createTime", DateTime.Now);
var dtList = new List<Dictionary<string, object>>();
dtList.Add(dt);

View File

@ -140,6 +140,12 @@ namespace OrmTest
.AddSubList(it => it.TwoItem3)
.ExecuteCommand();
var dict = new Dictionary<string, object>();
dict.Add("name", "1");
dict.Add("Price", 1);
dict.Add("CustomId", null);
db.Insertable(dict).AS("Order").ExecuteCommand();
Console.WriteLine("#### Insertable End ####");
}
}