Support NaviteType.Dynamic one to one

This commit is contained in:
sunkaixuan
2022-05-06 12:36:27 +08:00
parent 435b889ff2
commit fc6e5ef8ad
4 changed files with 56 additions and 2 deletions

View File

@@ -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