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
The following unit test passes correctly but result of group by statement is calculated on client:
//Northwind[Test][Category("Grouping")]publicvoidGroupByCalculatedTest(){varresult=fromoin db.Orders
group o by o.Freight >50? o.Freight >100?"expensive":"average":"cheap"into gselectg;varlist= result.ToList();
Assert.AreEqual(3, list.Count);}
Gnerated SQL (formatted):
SELECT [o].[OrderID], [o].[CustomerID], [o].[EmployeeID], [o].[Freight], [o].[OrderDate],
[o].[RequiredDate], [o].[ShipAddress], [o].[ShipCity], [o].[ShipCountry], [o].[ShipName],
[o].[ShipPostalCode], [o].[ShipRegion], [o].[ShipVia], [o].[ShippedDate]
FROM [Orders] AS [o]
In pessimistic case It may take all server's memory.
The following unit test passes correctly but result of group by statement is calculated on client:
Gnerated SQL (formatted):
In pessimistic case It may take all server's memory.
"EntityFramework.Core" version="7.0.0-rc1-final"
"Remotion.Linq" version="2.0.2"
The text was updated successfully, but these errors were encountered: