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(); } } }