Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
hmobius opened this Issue · 0 comments

2 participants

@hmobius

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 markrendle referenced this issue from a commit
@markrendle Fix for issue #228 149841f
@markrendle markrendle closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.