From 59d78250486bc0f982b12784720614403da1b017 Mon Sep 17 00:00:00 2001 From: sunkaixuna <610262374@qq.com> Date: Wed, 4 Aug 2021 23:32:46 +0800 Subject: [PATCH] Update demo --- Src/Asp.Net/SqlServerTest/Demo/Demo3_Insertable.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Asp.Net/SqlServerTest/Demo/Demo3_Insertable.cs b/Src/Asp.Net/SqlServerTest/Demo/Demo3_Insertable.cs index d6e8e9bcd..2628c17f9 100644 --- a/Src/Asp.Net/SqlServerTest/Demo/Demo3_Insertable.cs +++ b/Src/Asp.Net/SqlServerTest/Demo/Demo3_Insertable.cs @@ -218,7 +218,7 @@ namespace OrmTest } } }) - .ExecuteReturnPrimaryKey(); + .ExecuteCommand(); var list = db.Queryable() .Mapper(it => it.Provinces, it => it.Provinces.First().CountryId) @@ -298,7 +298,7 @@ namespace OrmTest } } }) - .ExecuteReturnPrimaryKey(); + .ExecuteCommand(); var list = db.Queryable() .Mapper(it => it.Provinces, it => it.Provinces.First().CountryId)