whats the shortest way of returning an Entity Framework object from one table based on it's name att
- by Greg
Hi,
whats the shortest way of returning an Entity Framework object from one table based on it's name attribute?
So say one had a table person, with column name, what would be the quickest way to return the person object with name = "Tim" say?
e.g. context.People.Select(m = m.Name == "Tim") doesn't seem to work?