Browse Source

Update unit test

pull/40/head
sunkaixuan 1 year ago
parent
commit
f93bc49836
  1. 2
      Src/Asp.Net/SqlServerTest/UnitTest/UCustom012.cs

2
Src/Asp.Net/SqlServerTest/UnitTest/UCustom012.cs

@ -271,6 +271,8 @@ namespace OrmTest
.Includes(x => x.Books).ToList();
db.Deleteable<StudentA>().Where(x => x.SchoolA.TeacherList.Any()).ExecuteCommand();
db.Updateable<StudentA>()
.SetColumns(it=>it.Name==it.Name).Where(x => x.SchoolA.TeacherList.Any()).ExecuteCommand();
db.Deleteable<StudentA>().Where(x => x.SchoolA.School_Name=="a").ExecuteCommand();
db.Updateable<StudentA>()
.SetColumns(it=>it.Name=="a").Where(x => x.SchoolA.School_Name == "a").ExecuteCommand();

Loading…
Cancel
Save