Open hmobius opened 10 years ago
ExistsBy can take either fluid or named parameters. For example, either of the following should work (once #319 is fixed).
var fluid = db.Albums.ExistsByGenreId(null); var named = db.Albums.ExistsBy(GenreId:null);
However, if no error is thrown if you mix the two styles in one call like so.
var mixed = db.Albums.ExistsByGenreId(GenreId: null);
Suggest that it should throw an ArgumentException instead?
ArgumentException
ExistsBy can take either fluid or named parameters. For example, either of the following should work (once #319 is fixed).
However, if no error is thrown if you mix the two styles in one call like so.
Suggest that it should throw an
ArgumentException
instead?