Need to select data in entity framework but need to filter on the childrent and grandchildren
i have 4 tables. Parent -> Child -> GrandChild -> GreatGran
Parent -> Child -> GrandChild -> GreatGran
Using linq you should need something like this.
var q = from q1 in dbContext.Parent join q2 in dbContext.Children on q1.key equals q2.fkey join q3 in ........ where q4.col1 == 3000 select q1;