mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
-
This commit is contained in:
@@ -37,6 +37,8 @@ namespace OrmTest.Demo
|
||||
|
||||
it.Schools = allSchools.Where(i => i.Id == it.SchoolId).ToList();//one to many
|
||||
|
||||
it.Name = it.Name == null ? "null" : it.Name;
|
||||
|
||||
}).ToList();
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user