|
@ -146,6 +146,13 @@ namespace OrmTest |
|
|
dict.Add("Price", 1); |
|
|
dict.Add("Price", 1); |
|
|
dict.Add("CustomId", null); |
|
|
dict.Add("CustomId", null); |
|
|
db.Insertable(dict).AS("Order").ExecuteCommand(); |
|
|
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 ####"); |
|
|
Console.WriteLine("#### Insertable End ####"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|