The LINQ expression 'OUTER APPLY Projection Mapping in EF .NET Core 5 Exception
问题 After migrating from .NET Core 2.x to .NET Core 5.0, we are facing this problem. Error: (Added as a CODE for better readability) The LINQ expression 'OUTER APPLY Projection Mapping: ( SELECT e0.Id, e0.FirstName, e0.MiddleName, e0.LastName FROM Employees AS e0 WHERE (((e0.Status != 4) && EXISTS ( Projection Mapping: SELECT 1 FROM FunctionRoles AS f0 WHERE t.Id == f0.SchoolId)) && (e0.FunctionRoleId == (Projection Mapping: EmptyProjectionMember -> 0 SELECT TOP(1) f1.Id FROM FunctionRoles AS f1