[Solved] how to get one value from a table in the entity framework
Let me give you some direction Do not use a propertie to get your data, use a method like this: //returns an enumeration of users filtered by the given expression Public IEnumerable<User> GetUsers(Expression<Func<User, bool>> expression) { return db.Users.Where(expression); } // returns the first occurency of a user filtered by the given expression Public User GetUser(Expression<Func<User, … Read more