EF Core 3.0 - Convert SQL to LINQ
问题 The example given in the blog has the following from e in s.StudentCourseEnrollments where courseIDs.Contains(e.Course.CourseID) select e The contains logic will not work when we are looking for an exact match. If a student has enrolled for 6 courses (ex : 1,2,3,4,5,6) and the requested list contains 5 (ex: 1,2,3,4,5) the query will return a match when it should not. The other way works well when the student has enrolled in a subset of the requested list. Below solution works but need help to