For some reason, I could not include any objects associated with the object in the GroupJoin statement.
public class Faclility{public List<Room> {get;set;}}
public class Room{public List<Chairs> {get;set;}}
dbContext.Facilities.GroupJoin(db.Room.Include(x=>x.Chairs),f=>f.fUnitโโID,r=>r.fUnitID,(f,result)=> new {})
The request works, I got some results. However, all objects of the โchairโ are null.
source
share