You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT [d].[Code], [d].[DepotType], [d].[Description], [d].[UnloadingOrder]
FROM [Depots] AS [d]
WHERE ([d].[Enabled] = CAST(1ASbit)) AND EXISTS (
SELECT1FROM [LoadingOrderDistributions] AS [l]
WHERE (([l].[Enabled] = CAST(1ASbit)) AND ([l].[CustomerId] IN (
SELECT [c].[Id]
FROM [Customers] AS [c]
WHERE ([c].[Enabled] = CAST(1ASbit)) AND EXISTS (
SELECT1FROM [CustomerCarriers] AS [c0]
WHERE (([c0].[Enabled] = CAST(1ASbit)) AND ([c].[Id] = [c0].[CustomerId])) AND ([c0].[CarrierCode] ='3'))
) AND ([l].[Published] = CAST(1ASbit)))) AND ([l].[DepotId] = [d].[Id]))
ORDER BY [d].[Description]
OFFSET 0 ROWS FETCH NEXT 20 ROWS ONLY
After the upgrade to .NET 6 / EF Core we encountered an issue with this little piece of code and the consequent translation to SQL.
Here's is the exception resulting:
Hi, there!
I encountered an issue in the same project after upgrading to .NET 6 / EF Core 6
This is the little piece of code with .NET 5 / EF Core 5 that worked well:
Here's an example of the query resulting is:
After the upgrade to .NET 6 / EF Core we encountered an issue with this little piece of code and the consequent translation to SQL.
Here's is the exception resulting:
Obviously changing the query to client evaluation works fine changing the code to:
Is this maybe a regression?
EF Core version: 6
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET 6.0
Operating system: Windows 10
IDE: Visual Studio 2022 17.0.0
The text was updated successfully, but these errors were encountered: