var managedEmployees = ctx.Employess.Where(x => x.ManagerId = 4).AsEnumerable()
If you want the whole tree at once, the solution is more complex. In SQL its best done with an CTE, I don't know if EF can handle this using linq- more likely an iterative solution would be used.