Created
September 18, 2012 20:09
-
-
Save rippo/3745539 to your computer and use it in GitHub Desktop.
Simple Data get by multiple columns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var db = Database.Open(); | |
IEnumerable<Login> logins = db.Logins.FindAllByEmailAndPassword(model.Email, model.Password).ToList<Login>(); | |
if (logins.Count() == 1) | |
{ | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment