From 8baf1b3fa7cb3b932f889e4737315a466eef8042 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sat, 9 Jul 2022 12:40:28 +0800 Subject: [PATCH] Update unit test --- Src/Asp.Net/SqlServerTest/UnitTest/UOneManyMany5.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Src/Asp.Net/SqlServerTest/UnitTest/UOneManyMany5.cs b/Src/Asp.Net/SqlServerTest/UnitTest/UOneManyMany5.cs index 73bbd0eac..ebec5d8f4 100644 --- a/Src/Asp.Net/SqlServerTest/UnitTest/UOneManyMany5.cs +++ b/Src/Asp.Net/SqlServerTest/UnitTest/UOneManyMany5.cs @@ -70,6 +70,11 @@ namespace OrmTest .ExecuteCommand(); var id = db.Queryable().ToList().Last().sid; + var data = db.Queryable() + .Includes(x => x.books) + .Includes(x => x.school_001) + .Where(it=>it.sid==id) + .ToList(); db.DeleteNav(s => s.sid == id) .Include(it => it.books) .Include(it=>it.school_001).ExecuteCommand();