This commit is contained in:
sunkaixuan 2022-11-01 23:23:21 +08:00
parent 02abc50241
commit 6852efdccd

View File

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