Permalink
Browse files

Merge pull request #231 from marcusoftnet/patch-1

FindBy is deprecated. Code example updated
  • Loading branch information...
2 parents 8bee509 + 13f2be6 commit dddcec7ec728d6992ab17f48b96393ffd4b7bb83 @markrendle committed Oct 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -28,7 +28,7 @@ why not just write
public User FindUserByEmail(string email)
{
- return Database.Open().Users.FindByEmail(email);
+ return Database.Open().Users.FindAllByEmail(email).FirstOrDefault();
}
and take the rest of the morning off?

0 comments on commit dddcec7

Please sign in to comment.