ExistsBy doesn't acknowledge named parameters #319

Open
hmobius opened this Issue Nov 11, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@hmobius

hmobius commented Nov 11, 2013

This is a continuation of #268 . As far as I can tell, ExistsBy should be able to take named parameters as arguments. For example,

var testOne = db.Albums.ExistsBy(GenreId: null);
var testTwo = db.Albums.ExistsBy(GenreId: 1);
var testThree = db.Albums.ExistsBy(GenreId: 1, ArtistId: 120);

However, Simple.Data throws an ArgumentException ("No columns specified") when running any of these rather than running the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment