From c8f81f0b1fe315186c5fe0eef18ee71c2bcb564a Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Wed, 12 Apr 2023 13:28:44 +0800 Subject: [PATCH] Add demo --- Src/Asp.NetCore2/SqlSeverTest/Demo/Demo1_Queryable.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Src/Asp.NetCore2/SqlSeverTest/Demo/Demo1_Queryable.cs b/Src/Asp.NetCore2/SqlSeverTest/Demo/Demo1_Queryable.cs index 8e323bdc0..487ae2b49 100644 --- a/Src/Asp.NetCore2/SqlSeverTest/Demo/Demo1_Queryable.cs +++ b/Src/Asp.NetCore2/SqlSeverTest/Demo/Demo1_Queryable.cs @@ -53,6 +53,7 @@ namespace OrmTest y.Name }).Any() }).ToList(); + db.Queryable().Where(it => getByWhere.Any(s => s.Id == it.Id && s.Name == it.Name)).ToList(); Console.WriteLine("#### Examples End ####"); }