mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Support NaviteType.Dynamic one to one
This commit is contained in:
@@ -29,7 +29,10 @@ namespace OrmTest
|
||||
it);
|
||||
});
|
||||
|
||||
|
||||
var list3 = db.Queryable<StudentA>()
|
||||
.Includes(it => it.SchoolA.MappingField(z=>z.SchoolId,()=>it.SchoolId).ToList() )
|
||||
.ToList();
|
||||
|
||||
}
|
||||
|
||||
public class StudentA
|
||||
|
||||
Reference in New Issue
Block a user