mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Add demo
This commit is contained in:
parent
02abc50241
commit
6852efdccd
@ -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 ####");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user