Join to other table in LINQKit Predicate
hello, assume that i have a query
The
Due to some reasons, i cannot get the list subjects in the
so here is my question, when i find the class by some subjects name, like
But it's wrong, the func in
Can anyone please help me. Thank you!
The
Subject connect to Class through the table ClassSubject.Due to some reasons, i cannot get the list subjects in the
allClasses LINQ, so i write thisso here is my question, when i find the class by some subjects name, like
["Ma", "Li"], i build a predicate with LINQKit, it should be something like thisBut it's wrong, the func in
Or()belongs to Class, not Subject. i need this predicate runs before the listClasses is defined, but i don't know how to join to the table Subject.Can anyone please help me. Thank you!