diff --git a/Src/Asp.Net/SqlServerTest/UnitTest/UCustom012.cs b/Src/Asp.Net/SqlServerTest/UnitTest/UCustom012.cs index 3ff650983..7094c69d9 100644 --- a/Src/Asp.Net/SqlServerTest/UnitTest/UCustom012.cs +++ b/Src/Asp.Net/SqlServerTest/UnitTest/UCustom012.cs @@ -190,6 +190,11 @@ namespace OrmTest { x = SqlFunc.Subqueryable().Where(z => z.Id == it.Id).Any() }).ToList(); + + db.Deleteable().Where(x => x.SchoolA.TeacherList.Any()).ExecuteCommand(); + db.Deleteable().Where(x => x.SchoolA.School_Name=="a").ExecuteCommand(); + db.Updateable() + .SetColumns(it=>it.Name=="a").Where(x => x.SchoolA.School_Name == "a").ExecuteCommand(); } public class UnitA001