Update unit test

This commit is contained in:
sunkaixuan 2022-07-03 16:59:52 +08:00
parent 20f9d33680
commit 70173a6ff4
2 changed files with 2 additions and 1 deletions

View File

@ -209,7 +209,7 @@ namespace OrmTest
.ThenInclude(z1 => z1.SchoolA)
.ThenInclude(z1 => z1.RoomList)
.AsNav()
.ThenInclude(z1 => z1.Books);
.ThenInclude(z1 => z1.Books).ExecuteCommand();
}

View File

@ -81,6 +81,7 @@ namespace SqlSugar
InsertNavTask<Root, Root> result = new InsertNavTask<Root, Root>();
Func<InsertNavProvider<Root, Root>> func = () => PreFunc().AsNav();
result.PreFunc = func;
result.Context = this.Context;
return result;
}
}