Closed hmobius closed 11 years ago
If I add a call to Having but pass it a parameter that is not a SimpleExpression - an integer string, etc (see below), Simple.Data throws a RuntimeBinderException.
db.Albums.All() .Select(db.Albums.Artists.Name, db.Albums.AlbumId.Count().As("NumberOfAlbums")) .Having(123);
It should throw an ArgumentException.
If I add a call to Having but pass it a parameter that is not a SimpleExpression - an integer string, etc (see below), Simple.Data throws a RuntimeBinderException.
It should throw an ArgumentException.