Permalink
Browse files

FindBy is deprecated. Code example updated

  • Loading branch information...
1 parent 8bee509 commit 13f2be68bda84b871c49ff321977bc37e8ee9d49 @marcusoftnet marcusoftnet committed Oct 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -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 13f2be6

Please sign in to comment.