diff --git a/Src/Asp.Net/PgSqlTest/Demo/Demo3_Insertable.cs b/Src/Asp.Net/PgSqlTest/Demo/Demo3_Insertable.cs index 8e6355d15..17ea3adbc 100644 --- a/Src/Asp.Net/PgSqlTest/Demo/Demo3_Insertable.cs +++ b/Src/Asp.Net/PgSqlTest/Demo/Demo3_Insertable.cs @@ -146,6 +146,13 @@ namespace OrmTest dict.Add("Price", 1); dict.Add("CustomId", null); db.Insertable(dict).AS("Order").ExecuteCommand(); + + + var dict2 = new Dictionary(); + dict2.Add("name", "1"); + dict2.Add("Price", 1); + dict2.Add("CustomId", null); + db.Insertable(dict).AS("Order").ExecuteReturnIdentity(); Console.WriteLine("#### Insertable End ####"); } }