Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

GetCountBy doesn't support "Column:Value" format parameters #228

Closed
hmobius opened this Issue Sep 28, 2012 · 0 comments

Comments

Projects
None yet
2 participants

hmobius commented Sep 28, 2012

The 'fluid style' commands - FindBy, FindAllBy - support parameters of the form "Column: value". For example.

db.Albums.FindBy(GenreId:1);

But GetCountBy() does not. The following command

db.Albums.GetCountBy(GenreId: 1);

throws

System.ArgumentException.  No columns specified.

The expected behavior would be to operate as if the corresponding fluid style command had been used instead.

db.Albums.GetCountByGenreId(1);

markrendle added a commit that referenced this issue Nov 6, 2012

@markrendle markrendle closed this Nov 6, 2012

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