score:5

Accepted answer
 //assuming your repo getall() returns a dbquery<t>
 var questions = _questionsrepository.getall()
                .where(q=>q.subtopic.topic.subjectid = mysubjectid)
                .include(q=>q.answers)
                .include(q=>q.subtopic.topic)
                .tolist();

Related Query

More Query from same tag