Closed hmobius closed 11 years ago
If I add a call to Having and pass it two valid SimpleExpressions as parameters (see below), Simple.Data throws an InvalidOperationException.
db.Albums.All() .Select(db.Albums.Artists.Name, db.Albums.AlbumId.Count().As("NumberOfAlbums"), db.Albums.Price.Sum().As("TotalCost")) .Having(db.Albums.AlbumId.Count() > 2, db.Albums.Price.Sum() >= 16.99);
It should throw an ArgumentException instead.
If I add a call to Having and pass it two valid SimpleExpressions as parameters (see below), Simple.Data throws an InvalidOperationException.
It should throw an ArgumentException instead.