mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-04 04:37:58 +08:00
Update unit test
This commit is contained in:
parent
20f9d33680
commit
70173a6ff4
@ -209,7 +209,7 @@ namespace OrmTest
|
|||||||
.ThenInclude(z1 => z1.SchoolA)
|
.ThenInclude(z1 => z1.SchoolA)
|
||||||
.ThenInclude(z1 => z1.RoomList)
|
.ThenInclude(z1 => z1.RoomList)
|
||||||
.AsNav()
|
.AsNav()
|
||||||
.ThenInclude(z1 => z1.Books);
|
.ThenInclude(z1 => z1.Books).ExecuteCommand();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -81,6 +81,7 @@ namespace SqlSugar
|
|||||||
InsertNavTask<Root, Root> result = new InsertNavTask<Root, Root>();
|
InsertNavTask<Root, Root> result = new InsertNavTask<Root, Root>();
|
||||||
Func<InsertNavProvider<Root, Root>> func = () => PreFunc().AsNav();
|
Func<InsertNavProvider<Root, Root>> func = () => PreFunc().AsNav();
|
||||||
result.PreFunc = func;
|
result.PreFunc = func;
|
||||||
|
result.Context = this.Context;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user