From 08685852b2a0c7a2b8d08007e813c4a594eacbed Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Fri, 17 Jun 2022 12:59:33 +0800 Subject: [PATCH] Add unit test --- Src/Asp.Net/SqlServerTest/UnitTest/UCustom22.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Src/Asp.Net/SqlServerTest/UnitTest/UCustom22.cs b/Src/Asp.Net/SqlServerTest/UnitTest/UCustom22.cs index 1daa93b96..187f2a62c 100644 --- a/Src/Asp.Net/SqlServerTest/UnitTest/UCustom22.cs +++ b/Src/Asp.Net/SqlServerTest/UnitTest/UCustom22.cs @@ -33,6 +33,14 @@ namespace OrmTest //用例代码 Search(db); + db.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings() + { + IsWithNoLockQuery=true + }; + db.Queryable() + .Select() + .MergeTable().LeftJoin((x, y) => true) + .ToList(); }