var students = from s in dc.Students from e in s.StudentCourseEnrollments where courseIDs.Contains(e.Course.CourseID) select s;