I have the following class structure:
class TestCase {
public IList<Step> Steps { get; set; }
}
class Step {
public IList<Action> Actions { get; set; }
}
class Action { }
I want to load a TestCase
, all Step
s, and all Event
s in one query and avoid the Select N+1 problem.
This post solves the problem of loading the Step
s with TestCase
s (using IMultiQuery
), but how would I load the Action
s too?