From 9b368e5b79a4210061a96e45f8344bb0223c952e Mon Sep 17 00:00:00 2001 From: sunkaixuna <610262374@qq.com> Date: Sat, 15 May 2021 22:44:55 +0800 Subject: [PATCH] - --- Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs b/Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs index 5fc0d9616..1bd02ad0a 100644 --- a/Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs +++ b/Src/Asp.Net/SqlServerTest/Demo/Demo1_Queryable.cs @@ -60,11 +60,7 @@ namespace OrmTest ProviceName = it.SexId.GetConfigValue("province"), CityName = it.SexId.GetConfigValue("city"), }).ToList();//也支持支持写在Where或者Orderby - - - db.AddQueue(""); - db.SaveQueues(); - + var list = db.Queryable().Select(it => new OrderItem { ItemId = it.ItemId.SelectAll(),