Open hmobius opened 10 years ago
Where() takes one SimpleExpression argument. If I call Where() with zero or more than one argument, it throws a BadExpressionException. For example
BadExpressionException
var throwZero = db.Albums.All().Where(); var throwTooMany = db.Albums.All() .Where(db.Albums.GenreId == 1, db.Albums.ArtistId == 120);
In both cases, Simple.Data should throw an ArgumentException.
ArgumentException
Where() takes one SimpleExpression argument. If I call Where() with zero or more than one argument, it throws a
BadExpressionException
. For exampleIn both cases, Simple.Data should throw an
ArgumentException
.