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
var query = from cc in Repo.AsQueryable()
group cc by 1 into g
select new {
MinLogId=g.Min(f=>f.Id),
MaxLogId=g.Max(f=>f.Id),
}
throws Operation 'ExecuteReader' throws exception 'BLToolkit.Data.DataException: Each GROUP BY expression must contain at least one column that is not an outer reference.
The text was updated successfully, but these errors were encountered:
Group by constant value is not possible e.g.
var query = from cc in Repo.AsQueryable()
group cc by 1 into g
select new {
MinLogId=g.Min(f=>f.Id),
MaxLogId=g.Max(f=>f.Id),
}
throws Operation 'ExecuteReader' throws exception 'BLToolkit.Data.DataException: Each GROUP BY expression must contain at least one column that is not an outer reference.
The text was updated successfully, but these errors were encountered: