From 32045e2771143aa57b458171eddf2a8750bde0c7 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sun, 8 Apr 2018 15:44:26 +0800 Subject: [PATCH] - --- Src/Asp.Net/SqlServerTest/Demos/3_Insert.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlServerTest/Demos/3_Insert.cs b/Src/Asp.Net/SqlServerTest/Demos/3_Insert.cs index 6d48bf5f8..8da1051bb 100644 --- a/Src/Asp.Net/SqlServerTest/Demos/3_Insert.cs +++ b/Src/Asp.Net/SqlServerTest/Demos/3_Insert.cs @@ -63,7 +63,7 @@ namespace OrmTest.Demo var dt = new Dictionary(); dt.Add("name", "1"); - var t66 = db.Insertable(dt).AS("student").ExecuteReturnEntity(); + var t66 = db.Insertable(dt).AS("student").ExecuteReturnIdentity(); } } }